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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 176.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 98 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.049e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.281, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.932/6.213, allocations: 1.887 GB / 3.099 GB, free: 354.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/6.214, allocations: 84.61 kB / 3.099 GB, free: 354.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.439/9.652, allocations: 0.9741 GB / 4.073 GB, free: 268.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.132e-06/9.652, allocations: 3.5 kB / 4.073 GB, free: 268.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.761e-05/9.653, allocations: 21.25 kB / 4.073 GB, free: 268.1 MB / 1.151 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.002625/9.655, allocations: 1.037 MB / 4.074 GB, free: 267.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/9.655, allocations: 7.906 kB / 4.074 GB, free: 267.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/9.656, allocations: 226.7 kB / 4.075 GB, free: 267.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/9.659, allocations: 0.8866 MB / 4.076 GB, free: 266.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/9.659, allocations: 34.75 kB / 4.076 GB, free: 266.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/9.659, allocations: 37 kB / 4.076 GB, free: 266.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/9.66, allocations: 498.9 kB / 4.076 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/9.66, allocations: 0 / 4.076 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/9.66, allocations: 19.41 kB / 4.076 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/9.66, allocations: 18.38 kB / 4.076 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/9.66, allocations: 372.9 kB / 4.077 GB, free: 266.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.002463/9.663, allocations: 2.158 MB / 4.079 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/9.663, allocations: 260.3 kB / 4.079 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/9.663, allocations: 134.8 kB / 4.079 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009352/9.664, allocations: 0.8267 MB / 4.08 GB, free: 263.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/9.665, allocations: 201.4 kB / 4.08 GB, free: 263.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.475e-06/9.665, allocations: 0 / 4.08 GB, free: 263.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.000807/9.666, allocations: 354.3 kB / 4.08 GB, free: 262.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/9.666, allocations: 106.5 kB / 4.08 GB, free: 262.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/9.666, allocations: 0.5477 MB / 4.081 GB, free: 262.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/9.666, allocations: 32.48 kB / 4.081 GB, free: 262.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/9.666, allocations: 329.8 kB / 4.081 GB, free: 262.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/9.667, allocations: 95.73 kB / 4.081 GB, free: 262.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/9.667, allocations: 8 kB / 4.081 GB, free: 262.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001226/9.667, allocations: 376.1 kB / 4.082 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/9.667, allocations: 115.2 kB / 4.082 GB, free: 261.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/9.667, allocations: 303.6 kB / 4.082 GB, free: 261.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/9.667, allocations: 158.5 kB / 4.082 GB, free: 261.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/9.667, allocations: 3.906 kB / 4.082 GB, free: 261.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006426/9.668, allocations: 464.5 kB / 4.083 GB, free: 261.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004302/9.669, allocations: 1.835 MB / 4.085 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/9.669, allocations: 7.094 kB / 4.085 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/9.669, allocations: 7.656 kB / 4.085 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/9.669, allocations: 94.77 kB / 4.085 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/9.669, allocations: 5.812 kB / 4.085 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/9.669, allocations: 57.81 kB / 4.085 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/9.669, allocations: 26.48 kB / 4.085 GB, free: 259.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/9.669, allocations: 8.625 kB / 4.085 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005538/9.67, allocations: 374.8 kB / 4.085 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/9.67, allocations: 3.188 kB / 4.085 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/9.67, allocations: 7.531 kB / 4.085 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/9.67, allocations: 92.7 kB / 4.085 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/9.67, allocations: 11.7 kB / 4.085 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/9.671, allocations: 48.3 kB / 4.085 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/9.671, allocations: 27.45 kB / 4.085 GB, free: 258.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001419/9.671, allocations: 136.3 kB / 4.085 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/9.671, allocations: 62.41 kB / 4.085 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005945/9.672, allocations: 327.2 kB / 4.086 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/9.672, allocations: 7.344 kB / 4.086 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/9.672, allocations: 3.344 kB / 4.086 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/9.672, allocations: 3.953 kB / 4.086 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/9.673, allocations: 1.174 MB / 4.087 GB, free: 257.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/9.673, allocations: 7.031 kB / 4.087 GB, free: 257.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/9.673, allocations: 45.31 kB / 4.087 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/9.673, allocations: 7.828 kB / 4.087 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/9.673, allocations: 15.3 kB / 4.087 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/9.673, allocations: 6.656 kB / 4.087 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/9.673, allocations: 6.781 kB / 4.087 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/9.674, allocations: 0.7346 MB / 4.088 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/9.674, allocations: 168.4 kB / 4.088 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/9.674, allocations: 11.84 kB / 4.088 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/9.675, allocations: 18.39 kB / 4.088 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/9.675, allocations: 23.62 kB / 4.088 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/9.675, allocations: 15.7 kB / 4.088 GB, free: 256.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004405/9.675, allocations: 442.6 kB / 4.088 GB, free: 256.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/9.675, allocations: 0 / 4.088 GB, free: 256.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001507/9.677, allocations: 415.9 kB / 4.089 GB, free: 256.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.002907/9.68, allocations: 1.671 MB / 4.09 GB, free: 255.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009048/9.681, allocations: 0.5039 MB / 4.091 GB, free: 255.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/9.681, allocations: 0 / 4.091 GB, free: 255.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/9.681, allocations: 137.1 kB / 4.091 GB, free: 255.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/9.682, allocations: 260 kB / 4.091 GB, free: 255.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/9.686, allocations: 1.676 MB / 4.093 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/9.686, allocations: 0.9135 MB / 4.094 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008616/9.687, allocations: 233.4 kB / 4.094 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/9.687, allocations: 41.73 kB / 4.094 GB, free: 253.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.31e-07/9.687, allocations: 3.875 kB / 4.094 GB, free: 253.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0369/9.724, allocations: 31.04 MB / 4.124 GB, free: 227.4 MB / 1.151 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