Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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.SteamHumidifier_X,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.SteamHumidifier_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,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.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005437/0.005437, allocations: 101.1 kB / 15.73 MB, free: 5.508 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.001188/0.001189, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.598/2.598, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2908, allocations: 151.6 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 1.029/1.319, allocations: 199 MB / 1.361 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0131/1.333, allocations: 3.749 MB / 1.365 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/1.334, allocations: 31.78 kB / 1.365 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/1.336, allocations: 439.7 kB / 1.365 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00616/1.342, allocations: 1.304 MB / 1.366 GB, free: 9.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/1.346, allocations: 0.7498 MB / 1.367 GB, free: 8.656 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003763/1.35, allocations: 1.361 MB / 1.368 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/1.351, allocations: 495 kB / 1.369 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004816/1.356, allocations: 1.014 MB / 1.37 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/1.357, allocations: 472.6 kB / 1.37 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/1.358, allocations: 42.22 kB / 1.37 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/1.362, allocations: 1.191 MB / 1.371 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000393/1.362, allocations: 194.4 kB / 1.372 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/1.363, allocations: 328.7 kB / 1.372 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003135/1.366, allocations: 1.204 MB / 1.373 GB, free: 5.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.366, allocations: 0 / 1.373 GB, free: 5.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.345e-06/1.366, allocations: 0 / 1.373 GB, free: 5.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.151e-05/1.366, allocations: 2.625 kB / 1.373 GB, free: 5.402 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.003631/1.37, allocations: 1.081 MB / 1.374 GB, free: 4.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/1.37, allocations: 9.688 kB / 1.374 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/1.372, allocations: 216.2 kB / 1.374 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/1.374, allocations: 0.5724 MB / 1.375 GB, free: 3.922 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/1.374, allocations: 37.22 kB / 1.375 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.374, allocations: 38.62 kB / 1.375 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/1.376, allocations: 0.5327 MB / 1.376 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/1.376, allocations: 0 / 1.376 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/1.376, allocations: 20.3 kB / 1.376 GB, free: 3.543 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/1.376, allocations: 23.45 kB / 1.376 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/1.378, allocations: 0.5012 MB / 1.376 GB, free: 3.293 MB / 1.045 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.005898/1.384, allocations: 2.211 MB / 1.378 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.385, allocations: 354.8 kB / 1.379 GB, free: 1.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/1.386, allocations: 145 kB / 1.379 GB, free: 1.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002061/1.388, allocations: 0.8359 MB / 1.38 GB, free: 144 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005239/1.389, allocations: 198.8 kB / 1.38 GB, free: 15.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 3.136e-06/1.389, allocations: 0 / 1.38 GB, free: 15.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.001799/1.39, allocations: 443.5 kB / 1.38 GB, free: 15.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/1.39, allocations: 85.89 kB / 1.38 GB, free: 15.67 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1.392, allocations: 0.6542 MB / 1.381 GB, free: 15.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/1.392, allocations: 29.7 kB / 1.381 GB, free: 15.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/1.392, allocations: 326.2 kB / 1.381 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.393, allocations: 95.72 kB / 1.381 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/1.393, allocations: 80.48 kB / 1.381 GB, free: 14.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002323/1.393, allocations: 374.8 kB / 1.382 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000631/1.394, allocations: 139.8 kB / 1.382 GB, free: 14.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008078/1.394, allocations: 279 kB / 1.382 GB, free: 14.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/1.396, allocations: 389.3 kB / 1.383 GB, free: 13.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.396, allocations: 0 / 1.383 GB, free: 13.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001771/1.397, allocations: 479.7 kB / 1.383 GB, free: 13.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.397, allocations: 5.062 kB / 1.383 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.397, allocations: 9.531 kB / 1.383 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.398, allocations: 7.188 kB / 1.383 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/1.398, allocations: 79.2 kB / 1.383 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/1.398, allocations: 15.61 kB / 1.383 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.399, allocations: 77.42 kB / 1.383 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/1.4, allocations: 17.55 kB / 1.383 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008917/1.4, allocations: 295.3 kB / 1.383 GB, free: 13.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008041/1.401, allocations: 277.3 kB / 1.384 GB, free: 13.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001105/1.402, allocations: 394.5 kB / 1.384 GB, free: 12.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/1.402, allocations: 2.969 kB / 1.384 GB, free: 12.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001712/1.404, allocations: 480.5 kB / 1.385 GB, free: 12.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.404, allocations: 7.969 kB / 1.385 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.404, allocations: 6.406 kB / 1.385 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/1.404, allocations: 7.688 kB / 1.385 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/1.405, allocations: 82.36 kB / 1.385 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/1.405, allocations: 11.95 kB / 1.385 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/1.406, allocations: 57.48 kB / 1.385 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/1.406, allocations: 23.23 kB / 1.385 GB, free: 12.52 MB / 1.061 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 (43): * Single equations (assignments): 43 * 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.0002404/1.406, allocations: 209.9 kB / 1.385 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/1.406, allocations: 65.36 kB / 1.385 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009953/1.407, allocations: 320 kB / 1.385 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/1.407, allocations: 2.438 kB / 1.385 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.407, allocations: 2.5 kB / 1.385 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.407, allocations: 0 / 1.385 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/1.41, allocations: 1.097 MB / 1.386 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.41, allocations: 2.25 kB / 1.386 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/1.41, allocations: 46.08 kB / 1.386 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/1.41, allocations: 3.812 kB / 1.386 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/1.41, allocations: 8.969 kB / 1.386 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.41, allocations: 6.969 kB / 1.386 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.41, allocations: 2.406 kB / 1.386 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/1.411, allocations: 483 kB / 1.387 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/1.411, allocations: 162.1 kB / 1.387 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.412, allocations: 8.625 kB / 1.387 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/1.412, allocations: 25.73 kB / 1.387 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.412, allocations: 29.78 kB / 1.387 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/1.412, allocations: 7.688 kB / 1.387 GB, free: 10.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001065/1.414, allocations: 481.4 kB / 1.388 GB, free: 10.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.81e-07/1.414, allocations: 0 / 1.388 GB, free: 10.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00149/1.415, allocations: 269.2 kB / 1.388 GB, free: 10.32 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (25): * Single equations (assignments): 23 * 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.002029/1.417, allocations: 0.512 MB / 1.388 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.419, allocations: 0.4967 MB / 1.389 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.419, allocations: 64 / 1.389 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/1.419, allocations: 131.5 kB / 1.389 GB, free: 9.789 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.422, allocations: 282 kB / 1.389 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/1.424, allocations: 1.042 MB / 1.39 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/1.425, allocations: 0.8964 MB / 1.391 GB, free: 8.152 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001005/1.426, allocations: 168.2 kB / 1.391 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/1.426, allocations: 42.72 kB / 1.391 GB, free: 8.059 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/1.426, allocations: 1.781 kB / 1.391 GB, free: 8.059 MB / 1.061 GB Notification: Performance of Templates: time 0.0217/1.448, allocations: 10.47 MB / 1.402 GB, free: 2.898 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches