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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008425/0.0008424, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009208/0.0009209, allocations: 172.7 kB / 15.95 MB, free: 208 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.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003666, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6026, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1677/0.7703, allocations: 164 MB / 1.183 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005696/0.7761, allocations: 3.518 MB / 1.186 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.7766, allocations: 19.88 kB / 1.186 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008717/0.7775, allocations: 318.2 kB / 1.186 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.7797, allocations: 0.9254 MB / 1.187 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.7812, allocations: 0.5739 MB / 1.188 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.783, allocations: 1.566 MB / 1.189 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.7836, allocations: 376.4 kB / 1.19 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.7852, allocations: 0.778 MB / 1.19 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.7858, allocations: 454.1 kB / 1.191 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.7859, allocations: 20 kB / 1.191 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.7875, allocations: 0.8069 MB / 1.192 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.7877, allocations: 171.4 kB / 1.192 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.7878, allocations: 145.3 kB / 1.192 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.7887, allocations: 0.7951 MB / 1.193 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7888, allocations: 0 / 1.193 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7888, allocations: 4 kB / 1.193 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.7888, allocations: 0 / 1.193 GB, free: 1.129 MB / 0.9356 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.001836/0.7906, allocations: 0.9506 MB / 1.194 GB, free: 132 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.7907, allocations: 12.02 kB / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.7919, allocations: 238.9 kB / 1.194 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.7926, allocations: 0.5074 MB / 1.194 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.7927, allocations: 32.98 kB / 1.194 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.7928, allocations: 40 kB / 1.194 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.7938, allocations: 0.5396 MB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.7938, allocations: 7.938 kB / 1.195 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.7939, allocations: 19.95 kB / 1.195 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.7939, allocations: 20.98 kB / 1.195 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.7951, allocations: 0.4996 MB / 1.196 GB, free: 14.15 MB / 0.9512 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.00294/0.798, allocations: 2.234 MB / 1.198 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.7987, allocations: 356 kB / 1.198 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.7989, allocations: 157.8 kB / 1.198 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.8002, allocations: 0.8689 MB / 1.199 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.8005, allocations: 197.7 kB / 1.199 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.8005, allocations: 0 / 1.199 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.0009883/0.8015, allocations: 454.2 kB / 1.2 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.8016, allocations: 81.11 kB / 1.2 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.8024, allocations: 0.6447 MB / 1.2 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.8025, allocations: 33.7 kB / 1.2 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.8027, allocations: 319.8 kB / 1.201 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/0.8028, allocations: 98.58 kB / 1.201 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.8028, allocations: 12 kB / 1.201 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.803, allocations: 366.8 kB / 1.201 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.8033, allocations: 136.8 kB / 1.201 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.8038, allocations: 302.2 kB / 1.202 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.8042, allocations: 173.4 kB / 1.202 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.8042, allocations: 7.938 kB / 1.202 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009638/0.8052, allocations: 488.9 kB / 1.202 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.8053, allocations: 212.1 kB / 1.202 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8054, allocations: 11.94 kB / 1.202 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.8054, allocations: 8 kB / 1.202 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.8058, allocations: 95.83 kB / 1.203 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.8058, allocations: 7.984 kB / 1.203 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.8064, allocations: 83.48 kB / 1.203 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.8065, allocations: 20 kB / 1.203 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/0.8065, allocations: 4 kB / 1.203 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008641/0.8073, allocations: 414.9 kB / 1.203 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.8074, allocations: 4 kB / 1.203 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.8074, allocations: 8 kB / 1.203 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.8078, allocations: 100.3 kB / 1.203 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.8078, allocations: 8 kB / 1.203 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.8083, allocations: 79.48 kB / 1.203 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.8083, allocations: 20 kB / 1.203 GB, free: 5.68 MB / 0.9512 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.000268/0.8086, allocations: 288.9 kB / 1.204 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.8087, allocations: 59.25 kB / 1.204 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.8093, allocations: 338.1 kB / 1.204 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.8093, allocations: 7.953 kB / 1.204 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8093, allocations: 4 kB / 1.204 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8094, allocations: 0 / 1.204 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.8108, allocations: 1.107 MB / 1.205 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8109, allocations: 4 kB / 1.205 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.8111, allocations: 39.92 kB / 1.205 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.8111, allocations: 4 kB / 1.205 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.8111, allocations: 15.98 kB / 1.205 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.8111, allocations: 4 kB / 1.205 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8111, allocations: 0 / 1.205 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.812, allocations: 0.631 MB / 1.206 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.8122, allocations: 172.3 kB / 1.206 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.8122, allocations: 12 kB / 1.206 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.8126, allocations: 27.98 kB / 1.206 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.8127, allocations: 27.86 kB / 1.206 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.8127, allocations: 16 kB / 1.206 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006263/0.8133, allocations: 475 kB / 1.206 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8133, allocations: 0 / 1.206 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008424/0.8142, allocations: 271.6 kB / 1.207 GB, free: 2.039 MB / 0.9512 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.00116/0.8154, allocations: 0.5086 MB / 1.207 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.8165, allocations: 0.5205 MB / 1.208 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8165, allocations: 4.062 kB / 1.208 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.8167, allocations: 138 kB / 1.208 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.818, allocations: 264.4 kB / 1.208 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.8201, allocations: 1.365 MB / 1.209 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.8206, allocations: 0.8942 MB / 1.21 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007184/0.8213, allocations: 168.9 kB / 1.21 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.8215, allocations: 51.38 kB / 1.21 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of SimCode: time 4.7e-07/0.8215, allocations: 4 kB / 1.21 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.01765/0.8391, allocations: 9.967 MB / 1.22 GB, free: 4.391 MB / 0.9669 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=480 -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/jenkins/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