Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.000854, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.679/2.679, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003551, allocations: 9.375 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3466, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.9831/1.33, allocations: 250.2 MB / 1.304 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01666/1.347, allocations: 9.615 MB / 1.313 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/1.35, allocations: 68.53 kB / 1.313 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003109/1.353, allocations: 0.8167 MB / 1.314 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008898/1.362, allocations: 2.493 MB / 1.316 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006606/1.369, allocations: 1.941 MB / 1.318 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008979/1.378, allocations: 5.464 MB / 1.324 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/1.381, allocations: 1.398 MB / 1.325 GB, free: 17.64 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/1.386, allocations: 1.689 MB / 1.327 GB, free: 17.62 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00386/1.39, allocations: 1.266 MB / 1.328 GB, free: 17.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004802/1.391, allocations: 62.25 kB / 1.328 GB, free: 17.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007966/1.399, allocations: 3.485 MB / 1.331 GB, free: 17.58 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/1.4, allocations: 483.3 kB / 1.332 GB, free: 17.58 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/1.402, allocations: 0.9144 MB / 1.333 GB, free: 17.53 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005001/1.407, allocations: 2.681 MB / 1.335 GB, free: 17.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.407, allocations: 0 / 1.335 GB, free: 17.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.475e-06/1.407, allocations: 0 / 1.335 GB, free: 17.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.23e-05/1.407, allocations: 0 / 1.335 GB, free: 17.32 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004032/1.411, allocations: 2.13 MB / 1.337 GB, free: 16.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.411, allocations: 13.41 kB / 1.337 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/1.415, allocations: 0.6581 MB / 1.338 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/1.418, allocations: 1.369 MB / 1.339 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/1.418, allocations: 163.8 kB / 1.34 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/1.419, allocations: 132.4 kB / 1.34 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/1.421, allocations: 1.455 MB / 1.341 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/1.421, allocations: 2.062 kB / 1.341 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.421, allocations: 52.12 kB / 1.341 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/1.421, allocations: 46.95 kB / 1.341 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/1.424, allocations: 1.223 MB / 1.342 GB, free: 15.27 MB / 1.014 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.008901/1.433, allocations: 5.774 MB / 1.348 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.435, allocations: 1.058 MB / 1.349 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/1.436, allocations: 0.5477 MB / 1.35 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/1.437, allocations: 330.4 kB / 1.35 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/1.438, allocations: 0.5849 MB / 1.35 GB, free: 12.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.356e-06/1.438, allocations: 0 / 1.35 GB, free: 12.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.008375/1.446, allocations: 3.26 MB / 1.354 GB, free: 11.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.446, allocations: 92.61 kB / 1.354 GB, free: 11.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/1.448, allocations: 1.307 MB / 1.355 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/1.448, allocations: 47.08 kB / 1.355 GB, free: 11.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/1.449, allocations: 0.7297 MB / 1.356 GB, free: 10.76 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/1.449, allocations: 295.5 kB / 1.356 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.45, allocations: 95.12 kB / 1.356 GB, free: 10.56 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.45, allocations: 341.4 kB / 1.356 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009423/1.451, allocations: 445.4 kB / 1.357 GB, free: 10.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.452, allocations: 0.6662 MB / 1.358 GB, free: 10 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.466, allocations: 3.993 MB / 1.361 GB, free: 9.113 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.466, allocations: 6.406 kB / 1.361 GB, free: 9.109 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003425/1.47, allocations: 1.401 MB / 1.363 GB, free: 8.773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002224/1.47, allocations: 256.3 kB / 1.363 GB, free: 8.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.47, allocations: 10.88 kB / 1.363 GB, free: 8.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/1.471, allocations: 73.67 kB / 1.363 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/1.472, allocations: 218.8 kB / 1.363 GB, free: 8.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005427/1.472, allocations: 0.5919 MB / 1.364 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.474, allocations: 154 kB / 1.364 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/1.474, allocations: 47.47 kB / 1.364 GB, free: 7.828 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.474, allocations: 1.875 kB / 1.364 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00266/1.477, allocations: 1.233 MB / 1.365 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.477, allocations: 3.094 kB / 1.365 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/1.477, allocations: 53.08 kB / 1.365 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009421/1.478, allocations: 221.8 kB / 1.366 GB, free: 7.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/1.48, allocations: 1.607 MB / 1.367 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.482, allocations: 147.2 kB / 1.367 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.482, allocations: 39.39 kB / 1.367 GB, free: 6.035 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001093/1.483, allocations: 0.5086 MB / 1.368 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/1.484, allocations: 168 kB / 1.368 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/1.486, allocations: 1.265 MB / 1.369 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.486, allocations: 9.031 kB / 1.369 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.486, allocations: 0 / 1.369 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002197/1.489, allocations: 1.142 MB / 1.37 GB, free: 5.012 MB / 1.014 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 postOpt removeSimpleEquations (simulation): time 0.006564/1.495, allocations: 2.997 MB / 1.373 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.495, allocations: 7.281 kB / 1.373 GB, free: 3.539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009295/1.496, allocations: 191 kB / 1.373 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001839/1.496, allocations: 49.92 kB / 1.373 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.625e-05/1.497, allocations: 27.61 kB / 1.374 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004524/1.497, allocations: 0.5966 MB / 1.374 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.497, allocations: 2.906 kB / 1.374 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/1.501, allocations: 1.964 MB / 1.376 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.502, allocations: 325.2 kB / 1.376 GB, free: 1.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/1.503, allocations: 26.77 kB / 1.376 GB, free: 1.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.504, allocations: 122.5 kB / 1.376 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.504, allocations: 62.3 kB / 1.377 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/1.504, allocations: 30.95 kB / 1.377 GB, free: 1.371 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002003/1.506, allocations: 0.8914 MB / 1.377 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.506, allocations: 6.562 kB / 1.377 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002841/1.509, allocations: 0.6807 MB / 1.378 GB, free: 0.8164 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008266/1.51, allocations: 291.8 kB / 1.378 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004425/1.514, allocations: 1.971 MB / 1.38 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.515, allocations: 0 / 1.38 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/1.516, allocations: 0.6037 MB / 1.381 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005718/1.522, allocations: 0.7941 MB / 1.382 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009735/1.531, allocations: 4.064 MB / 1.386 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.533, allocations: 1.328 MB / 1.387 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/1.533, allocations: 119.5 kB / 1.387 GB, free: 11.27 MB / 1.029 GB Notification: Performance of SimCode: time 8.71e-07/1.533, allocations: 0 / 1.387 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Templates: time 0.05094/1.584, allocations: 31.98 MB / 1.418 GB, free: 13.97 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Examples_Humidifier_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches