Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001414, allocations: 108.2 kB / 15.99 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001359, allocations: 191.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.84 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8793/1.147, allocations: 271.4 MB / 1.215 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02305/1.17, allocations: 17.22 MB / 1.232 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/1.174, allocations: 64.84 kB / 1.232 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003317/1.177, allocations: 1.041 MB / 1.233 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009061/1.186, allocations: 2.909 MB / 1.236 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005936/1.192, allocations: 2.049 MB / 1.238 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00712/1.199, allocations: 4.838 MB / 1.242 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/1.203, allocations: 1.734 MB / 1.244 GB, free: 436 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007626/1.21, allocations: 2.4 MB / 1.246 GB, free: 15 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004226/1.214, allocations: 1.64 MB / 1.248 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0009304/1.215, allocations: 192.9 kB / 1.248 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007549/1.223, allocations: 3.136 MB / 1.251 GB, free: 12.33 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001576/1.225, allocations: 0.7306 MB / 1.252 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003391/1.228, allocations: 1.128 MB / 1.253 GB, free: 11.08 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005401/1.233, allocations: 2.902 MB / 1.256 GB, free: 8.711 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.233, allocations: 0 / 1.256 GB, free: 8.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/1.233, allocations: 0 / 1.256 GB, free: 8.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001148/1.234, allocations: 0 / 1.256 GB, free: 8.711 MB / 0.92 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.006172/1.24, allocations: 2.436 MB / 1.258 GB, free: 6.207 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/1.24, allocations: 8.031 kB / 1.258 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/1.245, allocations: 0.6456 MB / 1.259 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/1.248, allocations: 1.338 MB / 1.26 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.248, allocations: 102.5 kB / 1.26 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/1.249, allocations: 140 kB / 1.26 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/1.252, allocations: 1.578 MB / 1.262 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/1.252, allocations: 0 / 1.262 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/1.252, allocations: 52 kB / 1.262 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/1.252, allocations: 54.39 kB / 1.262 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/1.255, allocations: 1.278 MB / 1.263 GB, free: 0.8828 MB / 0.92 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.01049/1.265, allocations: 7.198 MB / 1.27 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/1.266, allocations: 0.6567 MB / 1.271 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/1.267, allocations: 366.5 kB / 1.271 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/1.267, allocations: 109.6 kB / 1.271 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.267, allocations: 39.12 kB / 1.271 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009405/1.268, allocations: 131.1 kB / 1.272 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=67): time 4.248e-06/1.268, allocations: 0 / 1.272 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=67): time 0.00204/1.27, allocations: 1.024 MB / 1.273 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.27, allocations: 55.97 kB / 1.273 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.272, allocations: 1.339 MB / 1.274 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/1.272, allocations: 45.7 kB / 1.274 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/1.273, allocations: 0.7736 MB / 1.275 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/1.273, allocations: 244.5 kB / 1.275 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/1.274, allocations: 198.5 kB / 1.275 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.274, allocations: 349.9 kB / 1.275 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/1.274, allocations: 360.7 kB / 1.276 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/1.275, allocations: 0.6751 MB / 1.276 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/1.276, allocations: 0.9604 MB / 1.277 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.276, allocations: 4 kB / 1.277 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001926/1.278, allocations: 1.148 MB / 1.279 GB, free: 344 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/1.278, allocations: 12.03 kB / 1.279 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.278, allocations: 8 kB / 1.279 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.278, allocations: 12 kB / 1.279 GB, free: 312 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008957/1.279, allocations: 203.7 kB / 1.279 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/1.279, allocations: 19.92 kB / 1.279 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.281, allocations: 145.6 kB / 1.279 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/1.281, allocations: 39.98 kB / 1.279 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001102/1.282, allocations: 0.6849 MB / 1.28 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000757/1.283, allocations: 0.6828 MB / 1.28 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001214/1.284, allocations: 0.9449 MB / 1.281 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.766e-06/1.284, allocations: 7.938 kB / 1.281 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001871/1.286, allocations: 1.14 MB / 1.282 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.286, allocations: 8 kB / 1.282 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.286, allocations: 12.83 kB / 1.282 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.286, allocations: 15.98 kB / 1.282 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/1.287, allocations: 211.7 kB / 1.283 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/1.287, allocations: 12 kB / 1.283 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.289, allocations: 147.6 kB / 1.283 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/1.289, allocations: 36 kB / 1.283 GB, free: 11.78 MB / 0.9512 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.0003035/1.289, allocations: 251.9 kB / 1.283 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/1.29, allocations: 154.1 kB / 1.283 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/1.291, allocations: 0.828 MB / 1.284 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.291, allocations: 8 kB / 1.284 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.291, allocations: 7.984 kB / 1.284 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009897/1.292, allocations: 0.7785 MB / 1.285 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/1.296, allocations: 2.302 MB / 1.287 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.296, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/1.297, allocations: 168 kB / 1.287 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/1.297, allocations: 7.984 kB / 1.287 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/1.297, allocations: 23.94 kB / 1.287 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/1.297, allocations: 4 kB / 1.287 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.297, allocations: 4 kB / 1.287 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/1.299, allocations: 1.257 MB / 1.288 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007374/1.3, allocations: 323.2 kB / 1.289 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/1.3, allocations: 19.94 kB / 1.289 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.301, allocations: 91.83 kB / 1.289 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/1.301, allocations: 44.44 kB / 1.289 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/1.301, allocations: 31.98 kB / 1.289 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001409/1.303, allocations: 0.9122 MB / 1.29 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/1.303, allocations: 0 / 1.29 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002507/1.305, allocations: 0.8495 MB / 1.291 GB, free: 3.527 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0006799/1.306, allocations: 260.5 kB / 1.291 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002686/1.309, allocations: 1.444 MB / 1.292 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.309, allocations: 0 / 1.292 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/1.309, allocations: 344.1 kB / 1.293 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/1.313, allocations: 0.8517 MB / 1.293 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/1.32, allocations: 3.605 MB / 1.297 GB, free: 13 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.321, allocations: 1.341 MB / 1.298 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/1.321, allocations: 123.4 kB / 1.298 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of SimCode: time 9.52e-07/1.321, allocations: 0 / 1.298 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.03972/1.361, allocations: 25.11 MB / 1.323 GB, free: 2.586 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches