Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 216.2 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.145/3.145, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.14 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2939, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2929/0.5868, allocations: 244.5 MB / 1.566 GB, free: 11.63 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02345/0.6102, allocations: 16.1 MB / 1.582 GB, free: 11.49 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.6119, allocations: 95.19 kB / 1.582 GB, free: 11.4 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.6146, allocations: 1.115 MB / 1.583 GB, free: 10.28 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.007324/0.6219, allocations: 3.256 MB / 1.586 GB, free: 7.008 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.6271, allocations: 2.252 MB / 1.588 GB, free: 4.762 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006136/0.6333, allocations: 4.943 MB / 1.593 GB, free: 15.8 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.6353, allocations: 1.409 MB / 1.594 GB, free: 14.36 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006497/0.6418, allocations: 2.758 MB / 1.597 GB, free: 11.61 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.6447, allocations: 1.644 MB / 1.599 GB, free: 9.969 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.000314/0.6451, allocations: 200 kB / 1.599 GB, free: 9.773 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005073/0.6501, allocations: 2.486 MB / 1.601 GB, free: 7.281 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.651, allocations: 0.7517 MB / 1.602 GB, free: 6.527 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.6521, allocations: 0.9259 MB / 1.603 GB, free: 5.598 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.005542/0.6577, allocations: 3.796 MB / 1.607 GB, free: 1.789 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6577, allocations: 4 kB / 1.607 GB, free: 1.785 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6577, allocations: 4 kB / 1.607 GB, free: 1.781 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.6577, allocations: 0 / 1.607 GB, free: 1.781 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.5474/1.205, allocations: 2.398 MB / 1.609 GB, free: 284.6 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.205, allocations: 10.27 kB / 1.609 GB, free: 284.6 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/1.21, allocations: 0.5099 MB / 1.609 GB, free: 284.5 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/1.213, allocations: 1.351 MB / 1.611 GB, free: 284.2 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.677e-05/1.213, allocations: 105.5 kB / 1.611 GB, free: 284.2 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/1.214, allocations: 134.1 kB / 1.611 GB, free: 284.1 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/1.217, allocations: 1.997 MB / 1.613 GB, free: 282.9 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/1.217, allocations: 8.766 kB / 1.613 GB, free: 282.9 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.217, allocations: 61.8 kB / 1.613 GB, free: 282.9 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/1.217, allocations: 45.58 kB / 1.613 GB, free: 282.9 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/1.219, allocations: 1.264 MB / 1.614 GB, free: 282.4 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008058/1.227, allocations: 4.309 MB / 1.619 GB, free: 280.2 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.228, allocations: 0.6473 MB / 1.619 GB, free: 280 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/1.229, allocations: 390.4 kB / 1.62 GB, free: 279.8 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/1.229, allocations: 33.27 kB / 1.62 GB, free: 279.8 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/1.229, allocations: 45.84 kB / 1.62 GB, free: 279.7 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001141/1.23, allocations: 188.7 kB / 1.62 GB, free: 279.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 2.715e-06/1.23, allocations: 3.75 kB / 1.62 GB, free: 279.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=67): time 0.002019/1.232, allocations: 1.145 MB / 1.621 GB, free: 279.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/1.232, allocations: 58.34 kB / 1.621 GB, free: 279.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/1.234, allocations: 1.169 MB / 1.622 GB, free: 278.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/1.234, allocations: 45.61 kB / 1.622 GB, free: 278.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/1.234, allocations: 0.8074 MB / 1.623 GB, free: 278.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.234, allocations: 258.2 kB / 1.623 GB, free: 277.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/1.235, allocations: 211.9 kB / 1.623 GB, free: 277.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/1.235, allocations: 347.6 kB / 1.624 GB, free: 277.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/1.236, allocations: 399.4 kB / 1.624 GB, free: 277.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/1.237, allocations: 1.17 MB / 1.625 GB, free: 276.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/1.238, allocations: 1.044 MB / 1.626 GB, free: 275.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.238, allocations: 5.203 kB / 1.626 GB, free: 275.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001897/1.24, allocations: 1.242 MB / 1.627 GB, free: 275.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.24, allocations: 9.375 kB / 1.627 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.24, allocations: 5.781 kB / 1.627 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.24, allocations: 15.25 kB / 1.627 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.241, allocations: 220.2 kB / 1.628 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/1.241, allocations: 17.38 kB / 1.628 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.243, allocations: 44.92 kB / 1.628 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-05/1.243, allocations: 48.33 kB / 1.628 GB, free: 275 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001031/1.244, allocations: 0.7235 MB / 1.629 GB, free: 274.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007973/1.245, allocations: 1.177 MB / 1.63 GB, free: 273.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001217/1.246, allocations: 1.029 MB / 1.631 GB, free: 272.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/1.246, allocations: 5.312 kB / 1.631 GB, free: 272.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001811/1.248, allocations: 1.242 MB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.248, allocations: 8.719 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.248, allocations: 8.25 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/1.248, allocations: 9.906 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/1.249, allocations: 224.4 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/1.249, allocations: 17.12 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.25, allocations: 51.61 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/1.25, allocations: 50.3 kB / 1.632 GB, free: 272.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002296/1.25, allocations: 246.3 kB / 1.632 GB, free: 272.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/1.25, allocations: 143.2 kB / 1.633 GB, free: 272.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/1.252, allocations: 0.9165 MB / 1.633 GB, free: 271.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009736/1.253, allocations: 0.8485 MB / 1.634 GB, free: 271.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.253, allocations: 5.125 kB / 1.634 GB, free: 271.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/1.254, allocations: 234.7 kB / 1.635 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.254, allocations: 16.11 kB / 1.635 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/1.255, allocations: 33.81 kB / 1.635 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/1.255, allocations: 41.83 kB / 1.635 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00177/1.256, allocations: 0.9303 MB / 1.636 GB, free: 270.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001717/1.258, allocations: 1.437 MB / 1.637 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004396/1.259, allocations: 352.9 kB / 1.637 GB, free: 269.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009676/1.26, allocations: 0.7755 MB / 1.638 GB, free: 269.4 MB / 1.295 GB Notification: Performance of Backend: time 5.31e-07/1.26, allocations: 0.875 kB / 1.638 GB, free: 269.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003515/1.263, allocations: 1.744 MB / 1.64 GB, free: 268.8 MB / 1.295 GB Notification: Performance of SimCode: time 0.005397/1.268, allocations: 3.725 MB / 1.643 GB, free: 266.9 MB / 1.295 GB Notification: Performance of Templates: time 0.0464/1.315, allocations: 42.16 MB / 1.685 GB, free: 228.2 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.768744427994534]