Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001542/0.001542, allocations: 102.6 kB / 16.27 MB, free: 5.91 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.001679/0.001679, allocations: 188.7 kB / 17.2 MB, free: 5.543 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 74.53 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3227, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.7435/1.066, allocations: 180.3 MB / 1.194 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006957/1.073, allocations: 3.754 MB / 1.198 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/1.074, allocations: 27.62 kB / 1.198 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/1.076, allocations: 434.2 kB / 1.198 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003332/1.079, allocations: 1.242 MB / 1.199 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/1.081, allocations: 0.7417 MB / 1.2 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00207/1.083, allocations: 1.357 MB / 1.201 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007839/1.084, allocations: 480 kB / 1.202 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/1.086, allocations: 0.9758 MB / 1.203 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007752/1.087, allocations: 460.8 kB / 1.203 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/1.087, allocations: 45.44 kB / 1.203 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/1.09, allocations: 1.193 MB / 1.205 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/1.09, allocations: 194.9 kB / 1.205 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/1.09, allocations: 330 kB / 1.205 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/1.092, allocations: 1.19 MB / 1.206 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.092, allocations: 3.938 kB / 1.206 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/1.092, allocations: 0 / 1.206 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.808e-06/1.092, allocations: 0 / 1.206 GB, free: 4.922 MB / 0.9044 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.002113/1.095, allocations: 1.05 MB / 1.207 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.095, allocations: 15.3 kB / 1.207 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.096, allocations: 217.7 kB / 1.207 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/1.097, allocations: 0.5328 MB / 1.208 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/1.097, allocations: 31.62 kB / 1.208 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/1.097, allocations: 39.94 kB / 1.208 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.098, allocations: 0.5412 MB / 1.209 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.098, allocations: 3.938 kB / 1.209 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/1.098, allocations: 20.72 kB / 1.209 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/1.098, allocations: 19.83 kB / 1.209 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/1.099, allocations: 0.495 MB / 1.209 GB, free: 2.863 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.003357/1.103, allocations: 2.228 MB / 1.211 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/1.103, allocations: 354.2 kB / 1.212 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/1.104, allocations: 152.7 kB / 1.212 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.105, allocations: 0.8412 MB / 1.213 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/1.105, allocations: 207.1 kB / 1.213 GB, free: 15.55 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 2.033e-06/1.105, allocations: 3.938 kB / 1.213 GB, free: 15.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.001044/1.106, allocations: 458.3 kB / 1.213 GB, free: 15.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/1.106, allocations: 89.77 kB / 1.213 GB, free: 15.22 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/1.107, allocations: 0.646 MB / 1.214 GB, free: 14.86 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/1.107, allocations: 36.17 kB / 1.214 GB, free: 14.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/1.108, allocations: 310.8 kB / 1.214 GB, free: 14.55 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/1.108, allocations: 110.8 kB / 1.214 GB, free: 14.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/1.108, allocations: 85.25 kB / 1.214 GB, free: 14.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.108, allocations: 373.8 kB / 1.215 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/1.109, allocations: 147.9 kB / 1.215 GB, free: 13.96 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/1.109, allocations: 294.4 kB / 1.215 GB, free: 13.71 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/1.11, allocations: 407.1 kB / 1.216 GB, free: 13.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.11, allocations: 3.938 kB / 1.216 GB, free: 13.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001011/1.111, allocations: 493.2 kB / 1.216 GB, free: 13.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.111, allocations: 4.844 kB / 1.216 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.111, allocations: 5.719 kB / 1.216 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.111, allocations: 11.59 kB / 1.216 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/1.111, allocations: 98.44 kB / 1.216 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.111, allocations: 7.281 kB / 1.216 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/1.112, allocations: 74.83 kB / 1.216 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/1.112, allocations: 19.22 kB / 1.216 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005442/1.112, allocations: 315.8 kB / 1.217 GB, free: 12.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004692/1.113, allocations: 297.6 kB / 1.217 GB, free: 12.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006474/1.114, allocations: 407.5 kB / 1.217 GB, free: 12.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/1.114, allocations: 2.5 kB / 1.217 GB, free: 12.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009767/1.115, allocations: 0.4904 MB / 1.218 GB, free: 12.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/1.115, allocations: 8.562 kB / 1.218 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.115, allocations: 5.188 kB / 1.218 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-06/1.115, allocations: 8.688 kB / 1.218 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/1.115, allocations: 90.39 kB / 1.218 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.115, allocations: 11.14 kB / 1.218 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/1.116, allocations: 66.61 kB / 1.218 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/1.116, allocations: 20.94 kB / 1.218 GB, free: 12 MB / 0.92 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.0002046/1.116, allocations: 211.9 kB / 1.218 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/1.116, allocations: 60.38 kB / 1.218 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/1.117, allocations: 349.4 kB / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.117, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.117, allocations: 4 kB / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.117, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/1.118, allocations: 1.107 MB / 1.22 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.118, allocations: 8.812 kB / 1.22 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/1.119, allocations: 47.86 kB / 1.22 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/1.119, allocations: 4 kB / 1.22 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/1.119, allocations: 16.31 kB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.119, allocations: 4 kB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.119, allocations: 0 / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/1.12, allocations: 0.6207 MB / 1.22 GB, free: 9.438 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/1.12, allocations: 161.3 kB / 1.22 GB, free: 9.262 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/1.12, allocations: 11.98 kB / 1.22 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/1.12, allocations: 24.05 kB / 1.22 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/1.12, allocations: 23.86 kB / 1.22 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/1.12, allocations: 15.98 kB / 1.221 GB, free: 9.188 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007084/1.121, allocations: 475 kB / 1.221 GB, free: 8.727 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.121, allocations: 0 / 1.221 GB, free: 8.727 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000954/1.122, allocations: 275.6 kB / 1.221 GB, free: 8.457 MB / 0.92 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.001862/1.124, allocations: 0.5073 MB / 1.222 GB, free: 8.109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001323/1.125, allocations: 0.5421 MB / 1.222 GB, free: 7.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.125, allocations: 4.125 kB / 1.222 GB, free: 7.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/1.126, allocations: 139.7 kB / 1.222 GB, free: 7.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/1.127, allocations: 276.6 kB / 1.223 GB, free: 7.164 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/1.13, allocations: 1.205 MB / 1.224 GB, free: 5.891 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/1.13, allocations: 0.8861 MB / 1.225 GB, free: 4.977 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.13, allocations: 55.44 kB / 1.225 GB, free: 4.922 MB / 0.92 GB Notification: Performance of SimCode: time 5.01e-07/1.13, allocations: 0 / 1.225 GB, free: 4.922 MB / 0.92 GB Notification: Performance of Templates: time 0.01724/1.148, allocations: 9.966 MB / 1.234 GB, free: 11.05 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches