Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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 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_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_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 99.39 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.0009023/0.0009026, allocations: 177.3 kB / 15.94 MB, free: 220 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.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.316/2.316, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005147, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7257, 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_dynamic): time 0.1943/0.92, allocations: 150.3 MB / 1.1 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008131/0.9282, allocations: 3.652 MB / 1.104 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.929, allocations: 23.81 kB / 1.104 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.9303, allocations: 422.2 kB / 1.104 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.933, allocations: 1.001 MB / 1.105 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.9349, allocations: 0.6526 MB / 1.106 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.9362, allocations: 0.8234 MB / 1.107 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.9368, allocations: 400.4 kB / 1.107 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.9384, allocations: 0.7477 MB / 1.108 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.939, allocations: 310.8 kB / 1.108 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.9391, allocations: 20 kB / 1.108 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.9407, allocations: 0.6084 MB / 1.109 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.9409, allocations: 171.4 kB / 1.109 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.9411, allocations: 145.4 kB / 1.109 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008957/0.942, allocations: 0.7171 MB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.942, allocations: 0 / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.723e-06/0.942, allocations: 3.938 kB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.942, 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.001934/0.9439, allocations: 0.9117 MB / 1.111 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.944, allocations: 8.031 kB / 1.111 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.9453, allocations: 235 kB / 1.111 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008793/0.9462, allocations: 0.519 MB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.9462, allocations: 29 kB / 1.111 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.9463, allocations: 40 kB / 1.111 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.9474, allocations: 0.5435 MB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.9474, allocations: 4 kB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.9475, allocations: 15.94 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.9475, allocations: 17 kB / 1.112 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.9487, allocations: 0.5074 MB / 1.112 GB, free: 12.86 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.00318/0.9519, allocations: 2.214 MB / 1.115 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.9526, allocations: 363.8 kB / 1.115 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.9538, allocations: 0.6001 MB / 1.116 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.9541, allocations: 199.5 kB / 1.116 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.9541, allocations: 0 / 1.116 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28): time 0.001228/0.9554, allocations: 462.5 kB / 1.116 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.9555, allocations: 110.8 kB / 1.116 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009096/0.9564, allocations: 0.6485 MB / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.9564, allocations: 33.7 kB / 1.117 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.9567, allocations: 319.8 kB / 1.117 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.9568, allocations: 102.6 kB / 1.117 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.9568, allocations: 4 kB / 1.117 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.957, allocations: 374.7 kB / 1.118 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.9573, allocations: 136.8 kB / 1.118 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.9579, allocations: 294.2 kB / 1.118 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.9583, allocations: 178 kB / 1.118 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9583, allocations: 0 / 1.118 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009994/0.9593, allocations: 492.7 kB / 1.119 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006814/0.96, allocations: 1.564 MB / 1.12 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.9601, allocations: 4 kB / 1.12 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.9601, allocations: 8 kB / 1.12 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.9605, allocations: 95.83 kB / 1.12 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.9606, allocations: 11.95 kB / 1.12 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.9612, allocations: 87.47 kB / 1.121 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.9613, allocations: 20 kB / 1.121 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.9613, allocations: 4.938 kB / 1.121 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008872/0.9622, allocations: 412 kB / 1.121 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.9622, allocations: 4 kB / 1.121 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.934e-06/0.9622, allocations: 8 kB / 1.121 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.9626, allocations: 87.89 kB / 1.121 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.9627, allocations: 15.92 kB / 1.121 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.9632, allocations: 71.72 kB / 1.121 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.9632, allocations: 19.98 kB / 1.121 GB, free: 3.43 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 (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.0003169/0.9636, allocations: 292.9 kB / 1.121 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.9637, allocations: 59.25 kB / 1.121 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006275/0.9643, allocations: 339.6 kB / 1.122 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.9643, allocations: 4 kB / 1.122 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9643, allocations: 7.875 kB / 1.122 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9643, allocations: 32 / 1.122 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.9659, allocations: 1.193 MB / 1.123 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.966, allocations: 4 kB / 1.123 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.9662, allocations: 39.92 kB / 1.123 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.9662, allocations: 4 kB / 1.123 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.9662, allocations: 8 kB / 1.123 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.9662, allocations: 7.984 kB / 1.123 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.9663, allocations: 7.953 kB / 1.123 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.9671, allocations: 0.74 MB / 1.124 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.9673, allocations: 168.3 kB / 1.124 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.987e-05/0.9674, allocations: 15.98 kB / 1.124 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.9678, allocations: 28.05 kB / 1.124 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.9679, allocations: 23.86 kB / 1.124 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.9679, allocations: 16 kB / 1.124 GB, free: 256 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000613/0.9685, allocations: 471 kB / 1.124 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9685, allocations: 0 / 1.124 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008811/0.9694, allocations: 275.6 kB / 1.125 GB, free: 15.52 MB / 0.8887 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.001138/0.9705, allocations: 0.5113 MB / 1.125 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.9717, allocations: 0.5156 MB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9717, allocations: 1.062 kB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.9719, allocations: 137.8 kB / 1.126 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.9731, allocations: 266.1 kB / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.9749, allocations: 1.326 MB / 1.127 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.9754, allocations: 0.9059 MB / 1.128 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006585/0.976, allocations: 172.9 kB / 1.128 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.9762, allocations: 47.42 kB / 1.129 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/0.9762, allocations: 3.938 kB / 1.129 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.01682/0.993, allocations: 9.933 MB / 1.138 GB, free: 1.941 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches