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.00105/0.00105, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001709/0.001709, allocations: 168.7 kB / 15.95 MB, free: 204 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.37/1.37, allocations: 223.3 MB / 240 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.476/2.476, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 8 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7213, allocations: 142.4 MB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1876/0.909, allocations: 164 MB / 1.115 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005785/0.9148, allocations: 3.514 MB / 1.118 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.9154, allocations: 23.81 kB / 1.118 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.9164, allocations: 318.3 kB / 1.118 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.9187, allocations: 0.9215 MB / 1.119 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.9203, allocations: 0.5836 MB / 1.12 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.9221, allocations: 1.566 MB / 1.121 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005542/0.9226, allocations: 384.2 kB / 1.122 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.9242, allocations: 0.7741 MB / 1.122 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.9248, allocations: 442.2 kB / 1.123 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.9248, allocations: 24 kB / 1.123 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.9264, allocations: 0.803 MB / 1.124 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.9266, allocations: 179.4 kB / 1.124 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.9268, allocations: 141.4 kB / 1.124 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.9277, allocations: 0.7989 MB / 1.125 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9277, allocations: 0 / 1.125 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9277, allocations: 0 / 1.125 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.9277, allocations: 0 / 1.125 GB, free: 0.5703 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.001856/0.9296, allocations: 0.939 MB / 1.126 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.9296, allocations: 12.02 kB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.9309, allocations: 238.9 kB / 1.126 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.9316, allocations: 0.5151 MB / 1.126 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.9316, allocations: 29 kB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.9317, allocations: 43.98 kB / 1.127 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009905/0.9327, allocations: 0.5435 MB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.9327, allocations: 3.938 kB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.9328, allocations: 20 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.9328, allocations: 20.98 kB / 1.127 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.9339, allocations: 0.4996 MB / 1.128 GB, free: 13.6 MB / 0.8887 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.002829/0.9368, allocations: 2.222 MB / 1.13 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.9374, allocations: 363.9 kB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.9377, allocations: 144.8 kB / 1.13 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.939, allocations: 0.8689 MB / 1.131 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.9395, allocations: 201.7 kB / 1.131 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.9395, allocations: 0 / 1.131 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.001014/0.9405, allocations: 454.6 kB / 1.132 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.9406, allocations: 85.11 kB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.9414, allocations: 0.6486 MB / 1.132 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.9414, allocations: 33.7 kB / 1.132 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.9417, allocations: 315.8 kB / 1.133 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.066e-05/0.9418, allocations: 102.6 kB / 1.133 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.9418, allocations: 11.94 kB / 1.133 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.942, allocations: 374.7 kB / 1.133 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.9423, allocations: 136.8 kB / 1.133 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.9428, allocations: 294.3 kB / 1.134 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.9432, allocations: 181.8 kB / 1.134 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.9432, allocations: 4 kB / 1.134 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009504/0.9441, allocations: 484.3 kB / 1.134 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.9443, allocations: 215.8 kB / 1.134 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.9443, allocations: 4 kB / 1.134 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.9443, allocations: 12 kB / 1.134 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.9447, allocations: 87.84 kB / 1.135 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.9448, allocations: 15.92 kB / 1.135 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.9454, allocations: 83.55 kB / 1.135 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.9454, allocations: 20 kB / 1.135 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.9455, allocations: 4 kB / 1.135 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008565/0.9463, allocations: 411.7 kB / 1.135 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9463, allocations: 4 kB / 1.135 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.9463, allocations: 8 kB / 1.135 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.9467, allocations: 99.83 kB / 1.135 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9468, allocations: 8.156 kB / 1.135 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.9472, allocations: 75.48 kB / 1.135 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.9473, allocations: 20 kB / 1.135 GB, free: 5.133 MB / 0.8887 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.0002925/0.9476, allocations: 292 kB / 1.136 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.9477, allocations: 63.25 kB / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/0.9483, allocations: 345.1 kB / 1.136 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9483, allocations: 0 / 1.136 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9483, allocations: 4 kB / 1.136 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9483, allocations: 4 kB / 1.136 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.9498, allocations: 1.107 MB / 1.137 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.9498, allocations: 4 kB / 1.137 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.95, allocations: 39.92 kB / 1.137 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.95, allocations: 4 kB / 1.137 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.9501, allocations: 15.98 kB / 1.137 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.9501, allocations: 3.953 kB / 1.137 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9501, allocations: 11.88 kB / 1.137 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.9509, allocations: 0.6204 MB / 1.138 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.9511, allocations: 172.3 kB / 1.138 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.9512, allocations: 12 kB / 1.138 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.9515, allocations: 32 kB / 1.138 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.9516, allocations: 19.97 kB / 1.138 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.9516, allocations: 12 kB / 1.138 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006147/0.9522, allocations: 475 kB / 1.138 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9523, allocations: 0 / 1.138 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008823/0.9531, allocations: 267.7 kB / 1.139 GB, free: 1.488 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.001227/0.9544, allocations: 0.5154 MB / 1.139 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.9555, allocations: 0.5297 MB / 1.14 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9555, allocations: 320 / 1.14 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.9557, allocations: 135.8 kB / 1.14 GB, free: 484 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.957, allocations: 268.4 kB / 1.14 GB, free: 220 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.959, allocations: 1.365 MB / 1.141 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.9594, allocations: 0.9019 MB / 1.142 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006768/0.9601, allocations: 164.9 kB / 1.142 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.9602, allocations: 43.44 kB / 1.142 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of SimCode: time 4.5e-07/0.9602, allocations: 0 / 1.142 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.01705/0.9773, allocations: 9.963 MB / 1.152 GB, free: 3.84 MB / 0.9044 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