Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00137/0.00137, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 11.98 kB / 0.8707 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6236, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.1702/0.7939, allocations: 164.8 MB / 1.182 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005687/0.7996, allocations: 3.649 MB / 1.185 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006527/0.8003, allocations: 23.81 kB / 1.185 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.8015, allocations: 418.4 kB / 1.186 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.8041, allocations: 0.9971 MB / 1.187 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.8058, allocations: 0.6594 MB / 1.187 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.8071, allocations: 0.8235 MB / 1.188 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.8078, allocations: 404.6 kB / 1.189 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.8093, allocations: 0.7516 MB / 1.189 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.8099, allocations: 310.8 kB / 1.19 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.81, allocations: 20 kB / 1.19 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.8112, allocations: 0.6045 MB / 1.19 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.8114, allocations: 159.5 kB / 1.19 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.8116, allocations: 153.3 kB / 1.191 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008798/0.8125, allocations: 0.7209 MB / 1.191 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.8125, allocations: 0 / 1.191 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8125, allocations: 0 / 1.191 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.8125, allocations: 0 / 1.191 GB, free: 2.176 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001941/0.8144, allocations: 0.9195 MB / 1.192 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.8145, allocations: 15.98 kB / 1.192 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.8158, allocations: 234.9 kB / 1.192 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.8167, allocations: 0.5074 MB / 1.193 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.8167, allocations: 36.98 kB / 1.193 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.8168, allocations: 47.86 kB / 1.193 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.8179, allocations: 0.5436 MB / 1.193 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.8179, allocations: 0 / 1.193 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.8179, allocations: 12 kB / 1.193 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.818, allocations: 24.98 kB / 1.193 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8192, allocations: 0.5113 MB / 1.194 GB, free: 15.21 MB / 0.9512 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.003106/0.8223, allocations: 2.222 MB / 1.196 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.8229, allocations: 371.9 kB / 1.197 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.824, allocations: 0.604 MB / 1.197 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.8244, allocations: 201.8 kB / 1.197 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.8244, allocations: 4 kB / 1.197 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001036/0.8254, allocations: 452.6 kB / 1.198 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.8255, allocations: 110.8 kB / 1.198 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.8263, allocations: 0.6408 MB / 1.198 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.8264, allocations: 33.7 kB / 1.198 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.8266, allocations: 323.8 kB / 1.199 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.8267, allocations: 98.59 kB / 1.199 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.8267, allocations: 8 kB / 1.199 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8269, allocations: 370.7 kB / 1.199 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.8272, allocations: 136.8 kB / 1.199 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.8277, allocations: 294.3 kB / 1.2 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.8281, allocations: 171.9 kB / 1.2 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8281, allocations: 4 kB / 1.2 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001016/0.8292, allocations: 486.1 kB / 1.2 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005105/0.8297, allocations: 1.58 MB / 1.202 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8297, allocations: 4 kB / 1.202 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.8297, allocations: 4 kB / 1.202 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.8302, allocations: 95.89 kB / 1.202 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.8302, allocations: 7.938 kB / 1.202 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.8309, allocations: 83.53 kB / 1.202 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.8309, allocations: 23.94 kB / 1.202 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.8309, allocations: 5.406 kB / 1.202 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009179/0.8319, allocations: 411 kB / 1.202 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8319, allocations: 4 kB / 1.202 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.8319, allocations: 4 kB / 1.202 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.8323, allocations: 95.83 kB / 1.203 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.8323, allocations: 7.984 kB / 1.203 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/0.8329, allocations: 71.66 kB / 1.203 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.833, allocations: 27.94 kB / 1.203 GB, free: 5.766 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003282/0.8333, allocations: 285.5 kB / 1.203 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.8334, allocations: 71.19 kB / 1.203 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006679/0.8341, allocations: 331.6 kB / 1.203 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8341, allocations: 4.062 kB / 1.203 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8341, allocations: 4 kB / 1.203 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.8341, allocations: 4 kB / 1.203 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.8358, allocations: 1.188 MB / 1.204 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8358, allocations: 4 kB / 1.204 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.836, allocations: 43.92 kB / 1.205 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.8361, allocations: 4 kB / 1.205 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.8361, allocations: 12 kB / 1.205 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.8361, allocations: 7.984 kB / 1.205 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8361, allocations: 0 / 1.205 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008752/0.837, allocations: 0.7274 MB / 1.205 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.8372, allocations: 168.2 kB / 1.205 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.8373, allocations: 15.94 kB / 1.205 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.8377, allocations: 19.98 kB / 1.205 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.8378, allocations: 31.97 kB / 1.205 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.8378, allocations: 12 kB / 1.205 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006786/0.8385, allocations: 467 kB / 1.206 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8385, allocations: 0 / 1.206 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009678/0.8395, allocations: 275.6 kB / 1.206 GB, free: 1.891 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.8407, allocations: 0.5169 MB / 1.207 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.8419, allocations: 0.52 MB / 1.207 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8419, allocations: 0 / 1.207 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.8422, allocations: 132.9 kB / 1.207 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.8434, allocations: 270.1 kB / 1.208 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.8454, allocations: 1.334 MB / 1.209 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.8459, allocations: 0.9135 MB / 1.21 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007045/0.8466, allocations: 172.9 kB / 1.21 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.8468, allocations: 51.42 kB / 1.21 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.8468, allocations: 0 / 1.21 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.01739/0.8642, allocations: 9.935 MB / 1.22 GB, free: 4.281 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches