Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 180.7 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 95.8 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.585e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2358, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.178/4.414, allocations: 1.887 GB / 3.093 GB, free: 4.82 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/4.414, allocations: 87.95 kB / 3.093 GB, free: 4.734 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.671/7.085, allocations: 0.5984 GB / 3.692 GB, free: 296.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.044e-06/7.085, allocations: 0 / 3.692 GB, free: 296.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001101/7.085, allocations: 18.84 kB / 3.692 GB, free: 296.6 MB / 1.151 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.003533/7.089, allocations: 1.032 MB / 3.693 GB, free: 295.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/7.089, allocations: 13.72 kB / 3.693 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/7.09, allocations: 221.9 kB / 3.693 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/7.093, allocations: 0.8704 MB / 3.694 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/7.093, allocations: 17 kB / 3.694 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/7.093, allocations: 25.84 kB / 3.694 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006307/7.094, allocations: 345.1 kB / 3.694 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/7.094, allocations: 432.1 kB / 3.695 GB, free: 294.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/7.094, allocations: 0 / 3.695 GB, free: 294.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/7.094, allocations: 7.344 kB / 3.695 GB, free: 294.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/7.094, allocations: 20.3 kB / 3.695 GB, free: 294.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003213/7.098, allocations: 2.049 MB / 3.697 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/7.098, allocations: 237 kB / 3.697 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/7.098, allocations: 116.1 kB / 3.697 GB, free: 292.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/7.099, allocations: 0.823 MB / 3.698 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/7.1, allocations: 181.3 kB / 3.698 GB, free: 291.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 3.546e-06/7.1, allocations: 0 / 3.698 GB, free: 291.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.003878/7.104, allocations: 0.828 MB / 3.699 GB, free: 291.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/7.104, allocations: 109.2 kB / 3.699 GB, free: 291.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/7.104, allocations: 451.7 kB / 3.699 GB, free: 291.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/7.104, allocations: 25.7 kB / 3.699 GB, free: 291.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/7.105, allocations: 342.2 kB / 3.7 GB, free: 290.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/7.105, allocations: 76.97 kB / 3.7 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/7.105, allocations: 3.594 kB / 3.7 GB, free: 290.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001606/7.105, allocations: 373 kB / 3.7 GB, free: 290.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/7.105, allocations: 92.5 kB / 3.7 GB, free: 290.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/7.105, allocations: 277.1 kB / 3.7 GB, free: 290.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/7.108, allocations: 0.6515 MB / 3.701 GB, free: 289.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/7.108, allocations: 0 / 3.701 GB, free: 289.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00349/7.112, allocations: 0.896 MB / 3.702 GB, free: 289.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006389/7.113, allocations: 1.836 MB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/7.113, allocations: 3.656 kB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/7.113, allocations: 10.91 kB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/7.113, allocations: 82.3 kB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/7.113, allocations: 10.94 kB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/7.114, allocations: 45.59 kB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/7.114, allocations: 22.25 kB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/7.114, allocations: 3.656 kB / 3.704 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003164/7.117, allocations: 0.8094 MB / 3.705 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/7.117, allocations: 4 kB / 3.705 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/7.117, allocations: 11.5 kB / 3.705 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/7.117, allocations: 87.02 kB / 3.705 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/7.117, allocations: 8 kB / 3.705 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/7.118, allocations: 29.66 kB / 3.705 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/7.118, allocations: 19.98 kB / 3.705 GB, free: 286.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001682/7.118, allocations: 130.3 kB / 3.705 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/7.118, allocations: 55.25 kB / 3.705 GB, free: 286.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/7.121, allocations: 0.7899 MB / 3.706 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/7.121, allocations: 4.094 kB / 3.706 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/7.121, allocations: 7.938 kB / 3.706 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/7.121, allocations: 3.984 kB / 3.706 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/7.125, allocations: 1.59 MB / 3.707 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/7.125, allocations: 3.781 kB / 3.707 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/7.126, allocations: 47.92 kB / 3.707 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/7.126, allocations: 7.984 kB / 3.707 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/7.126, allocations: 7.953 kB / 3.707 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/7.126, allocations: 4 kB / 3.707 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/7.126, allocations: 0 / 3.707 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/7.129, allocations: 1.067 MB / 3.708 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/7.129, allocations: 163.9 kB / 3.709 GB, free: 283 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/7.129, allocations: 7.984 kB / 3.709 GB, free: 283 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/7.129, allocations: 15.84 kB / 3.709 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/7.13, allocations: 26.89 kB / 3.709 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/7.13, allocations: 16 kB / 3.709 GB, free: 282.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004306/7.13, allocations: 346.9 kB / 3.709 GB, free: 282.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.13, allocations: 0 / 3.709 GB, free: 282.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001489/7.132, allocations: 371.5 kB / 3.709 GB, free: 282.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.003393/7.135, allocations: 1.802 MB / 3.711 GB, free: 280.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007877/7.136, allocations: 447.5 kB / 3.712 GB, free: 280.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/7.136, allocations: 0 / 3.712 GB, free: 280.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/7.136, allocations: 123.4 kB / 3.712 GB, free: 280.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009809/7.137, allocations: 189.2 kB / 3.712 GB, free: 280.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/7.141, allocations: 1.513 MB / 3.713 GB, free: 278.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/7.142, allocations: 0.9088 MB / 3.714 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001004/7.143, allocations: 206.8 kB / 3.714 GB, free: 277.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/7.143, allocations: 39.42 kB / 3.714 GB, free: 277.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.223e-06/7.143, allocations: 0 / 3.714 GB, free: 277.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02647/7.169, allocations: 16.67 MB / 3.731 GB, free: 261.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches