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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008085/0.0008085, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004967/0.004967, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.9 MB / 0.6663 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 12 kB / 0.8159 GB, free: 13.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.7087, allocations: 142.4 MB / 0.955 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1968/0.9055, allocations: 175.8 MB / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006335/0.9119, allocations: 3.752 MB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007231/0.9127, allocations: 23.81 kB / 1.13 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.9138, allocations: 370.3 kB / 1.131 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.9169, allocations: 1.167 MB / 1.132 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.9188, allocations: 0.6628 MB / 1.133 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.921, allocations: 1.836 MB / 1.134 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.9218, allocations: 405.6 kB / 1.135 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.9245, allocations: 0.8835 MB / 1.136 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.9254, allocations: 458.2 kB / 1.136 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.9255, allocations: 24 kB / 1.136 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.9279, allocations: 1.325 MB / 1.137 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.9281, allocations: 183.3 kB / 1.137 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.9286, allocations: 320 kB / 1.138 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.9306, allocations: 1.223 MB / 1.139 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.9306, allocations: 0 / 1.139 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9307, allocations: 0 / 1.139 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.9307, allocations: 0 / 1.139 GB, free: 2.387 MB / 0.8887 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.002171/0.9329, allocations: 0.9325 MB / 1.14 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9329, allocations: 8.031 kB / 1.14 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.9343, allocations: 238.9 kB / 1.14 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.9352, allocations: 0.5304 MB / 1.141 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.9352, allocations: 32.94 kB / 1.141 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.9353, allocations: 44 kB / 1.141 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.9365, allocations: 0.5513 MB / 1.141 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.9365, allocations: 3.984 kB / 1.141 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.9365, allocations: 16 kB / 1.141 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.9366, allocations: 21 kB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.9378, allocations: 0.5073 MB / 1.142 GB, free: 15.39 MB / 0.9044 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.003298/0.9411, allocations: 2.23 MB / 1.144 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.9418, allocations: 355.8 kB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.9421, allocations: 152.8 kB / 1.144 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.9435, allocations: 0.865 MB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.9439, allocations: 201.9 kB / 1.145 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/0.9439, allocations: 0 / 1.145 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001069/0.945, allocations: 463.6 kB / 1.146 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.9451, allocations: 85.11 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009174/0.946, allocations: 0.6485 MB / 1.147 GB, free: 10 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.946, allocations: 33.7 kB / 1.147 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.9463, allocations: 311.9 kB / 1.147 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.9464, allocations: 102.6 kB / 1.147 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.9465, allocations: 45.69 kB / 1.147 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9466, allocations: 370.7 kB / 1.147 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.947, allocations: 140.8 kB / 1.148 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.9475, allocations: 299.4 kB / 1.148 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.9482, allocations: 401.1 kB / 1.148 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.9482, allocations: 0 / 1.148 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001112/0.9494, allocations: 0.491 MB / 1.149 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.9495, allocations: 211.8 kB / 1.149 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9495, allocations: 4 kB / 1.149 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.9496, allocations: 4 kB / 1.149 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.95, allocations: 95.83 kB / 1.149 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9501, allocations: 7.938 kB / 1.149 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.9508, allocations: 87.53 kB / 1.149 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.9508, allocations: 20 kB / 1.149 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.9508, allocations: 4 kB / 1.149 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009917/0.9518, allocations: 416.3 kB / 1.15 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.9519, allocations: 4 kB / 1.15 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.9519, allocations: 8 kB / 1.15 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.9523, allocations: 91.88 kB / 1.15 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.9523, allocations: 11.94 kB / 1.15 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.9529, allocations: 83.52 kB / 1.15 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.953, allocations: 16 kB / 1.15 GB, free: 6.594 MB / 0.9044 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 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.9533, allocations: 290.5 kB / 1.15 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.9534, allocations: 59.25 kB / 1.15 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006649/0.9541, allocations: 351.6 kB / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.9541, allocations: 4 kB / 1.15 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9541, allocations: 0 / 1.15 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.9541, allocations: 0 / 1.15 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.9558, allocations: 1.109 MB / 1.152 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.9559, allocations: 8.062 kB / 1.152 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.9561, allocations: 43.86 kB / 1.152 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.9561, allocations: 4 kB / 1.152 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.9562, allocations: 8 kB / 1.152 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.9562, allocations: 11.92 kB / 1.152 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9562, allocations: 4 kB / 1.152 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/0.9571, allocations: 0.624 MB / 1.152 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.9573, allocations: 168.3 kB / 1.152 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.9574, allocations: 15.98 kB / 1.152 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.9578, allocations: 23.98 kB / 1.152 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.9579, allocations: 27.97 kB / 1.152 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.9579, allocations: 12 kB / 1.152 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006884/0.9586, allocations: 479 kB / 1.153 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9586, allocations: 0 / 1.153 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009566/0.9596, allocations: 271.6 kB / 1.153 GB, free: 2.941 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.9609, allocations: 0.5094 MB / 1.154 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.9622, allocations: 0.5282 MB / 1.154 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9622, allocations: 0 / 1.154 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.9625, allocations: 141 kB / 1.154 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.9641, allocations: 261.8 kB / 1.155 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.9663, allocations: 1.395 MB / 1.156 GB, free: 236 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.9668, allocations: 0.8942 MB / 1.157 GB, free: 15.31 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007426/0.9676, allocations: 180.9 kB / 1.157 GB, free: 15.13 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.9678, allocations: 55.42 kB / 1.157 GB, free: 15.08 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.9678, allocations: 0 / 1.157 GB, free: 15.08 MB / 0.92 GB Notification: Performance of Templates: time 0.01902/0.9868, allocations: 10.21 MB / 1.167 GB, free: 5.012 MB / 0.92 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches