Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Humidifiers.Validation.SprayAirWasher_X,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_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,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_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 99.7 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.001367/0.001367, 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.0005241, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7275, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1757/0.9032, allocations: 150.3 MB / 1.1 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006459/0.9098, allocations: 3.637 MB / 1.104 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000851/0.9107, allocations: 23.81 kB / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.9121, allocations: 422.2 kB / 1.104 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.9155, allocations: 1.008 MB / 1.105 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.9177, allocations: 0.6575 MB / 1.106 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.9193, allocations: 0.8195 MB / 1.107 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.92, allocations: 394.3 kB / 1.107 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.9215, allocations: 0.7516 MB / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.922, allocations: 310.8 kB / 1.108 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.922, allocations: 20 kB / 1.108 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.9234, allocations: 0.6007 MB / 1.109 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.9235, allocations: 163.4 kB / 1.109 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.9237, allocations: 145.3 kB / 1.109 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007889/0.9245, allocations: 0.7171 MB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.9245, allocations: 0 / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9245, allocations: 0 / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.9245, allocations: 0 / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001813/0.9263, allocations: 0.9078 MB / 1.111 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.9264, allocations: 12.03 kB / 1.111 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.9277, allocations: 231 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.9285, allocations: 0.5151 MB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.9286, allocations: 29 kB / 1.111 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.9287, allocations: 43.98 kB / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.9296, allocations: 0.5349 MB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.9297, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.9297, allocations: 16 kB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.9298, allocations: 20.94 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.9309, allocations: 0.5114 MB / 1.112 GB, free: 12.88 MB / 0.8731 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.003165/0.9341, allocations: 2.208 MB / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.9347, allocations: 343.8 kB / 1.115 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.9358, allocations: 0.604 MB / 1.116 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.9362, allocations: 188 kB / 1.116 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.9362, allocations: 0 / 1.116 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.0009821/0.9372, allocations: 434.7 kB / 1.116 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.9372, allocations: 114.7 kB / 1.116 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.9381, allocations: 0.6486 MB / 1.117 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.9381, allocations: 33.7 kB / 1.117 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.9383, allocations: 323.8 kB / 1.117 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.9384, allocations: 86.75 kB / 1.117 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.9385, allocations: 4 kB / 1.117 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.9386, allocations: 374.8 kB / 1.118 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.939, allocations: 123.9 kB / 1.118 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.9394, allocations: 273 kB / 1.118 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.9398, allocations: 167.9 kB / 1.118 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.9398, allocations: 4 kB / 1.118 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009345/0.9407, allocations: 465.4 kB / 1.119 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005115/0.9413, allocations: 1.579 MB / 1.12 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9413, allocations: 11.94 kB / 1.12 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9413, allocations: 4 kB / 1.12 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.9417, allocations: 87.89 kB / 1.12 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.9418, allocations: 8 kB / 1.12 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.9424, allocations: 83.48 kB / 1.12 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.9424, allocations: 35.97 kB / 1.12 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.9425, allocations: 5.406 kB / 1.12 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008616/0.9433, allocations: 379.7 kB / 1.121 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9434, allocations: 4 kB / 1.121 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.9434, allocations: 8 kB / 1.121 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.9438, allocations: 91.81 kB / 1.121 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9438, allocations: 8 kB / 1.121 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.9443, allocations: 59.78 kB / 1.121 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.9443, allocations: 23.98 kB / 1.121 GB, free: 3.594 MB / 0.8731 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 (43): * Single equations (assignments): 43 * 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.0002857/0.9446, allocations: 287.2 kB / 1.121 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.9447, allocations: 67.19 kB / 1.121 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.9453, allocations: 315.6 kB / 1.122 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9453, allocations: 4 kB / 1.122 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9453, allocations: 0 / 1.122 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.9453, allocations: 7.922 kB / 1.122 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.9468, allocations: 1.145 MB / 1.123 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.9468, allocations: 4 kB / 1.123 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.947, allocations: 43.92 kB / 1.123 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.947, allocations: 4 kB / 1.123 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.947, allocations: 11.98 kB / 1.123 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.9471, allocations: 7.953 kB / 1.123 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.9471, allocations: 7.938 kB / 1.123 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.9477, allocations: 0.5748 MB / 1.123 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.9479, allocations: 168.2 kB / 1.124 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.948, allocations: 15.94 kB / 1.124 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.9483, allocations: 27.91 kB / 1.124 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.9484, allocations: 23.94 kB / 1.124 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.9485, allocations: 11.98 kB / 1.124 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006267/0.9491, allocations: 475 kB / 1.124 GB, free: 184 kB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9491, allocations: 0 / 1.124 GB, free: 184 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009139/0.95, allocations: 263.6 kB / 1.124 GB, free: 15.92 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (25): * Single equations (assignments): 23 * 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.001176/0.9512, allocations: 0.5117 MB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.9524, allocations: 0.4925 MB / 1.125 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9524, allocations: 0 / 1.125 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.9526, allocations: 127.2 kB / 1.125 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.9538, allocations: 262.8 kB / 1.126 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.9556, allocations: 1.165 MB / 1.127 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.956, allocations: 0.9058 MB / 1.128 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006773/0.9567, allocations: 164.8 kB / 1.128 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.9568, allocations: 51.38 kB / 1.128 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of SimCode: time 8.72e-07/0.9568, allocations: 0 / 1.128 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of Templates: time 0.01718/0.974, allocations: 9.724 MB / 1.137 GB, free: 2.754 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches