Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 170.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008879, allocations: 85.88 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.034e-05/5.038e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2689, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.121/6.39, allocations: 2.182 GB / 3.074 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/6.39, allocations: 83.2 kB / 3.074 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9266/7.317, allocations: 214.4 MB / 3.283 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.322e-06/7.317, allocations: 3.938 kB / 3.283 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.113e-05/7.317, allocations: 5.094 kB / 3.283 GB, free: 252.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00106/7.318, allocations: 0.6637 MB / 3.284 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/7.318, allocations: 8.125 kB / 3.284 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/7.318, allocations: 94.53 kB / 3.284 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/7.319, allocations: 302.8 kB / 3.284 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/7.319, allocations: 17.72 kB / 3.284 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/7.319, allocations: 20.41 kB / 3.284 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/7.319, allocations: 287.6 kB / 3.285 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/7.319, allocations: 0 / 3.285 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/7.319, allocations: 11.38 kB / 3.285 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/7.319, allocations: 7.172 kB / 3.285 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/7.319, allocations: 199.5 kB / 3.285 GB, free: 251.9 MB / 0.8698 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.001278/7.321, allocations: 1.062 MB / 3.286 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/7.321, allocations: 280.2 kB / 3.286 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/7.321, allocations: 91.05 kB / 3.286 GB, free: 251 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/7.322, allocations: 391.7 kB / 3.287 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/7.322, allocations: 37.94 kB / 3.287 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/7.322, allocations: 3.281 kB / 3.287 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0004877/7.323, allocations: 216.2 kB / 3.287 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/7.323, allocations: 57.06 kB / 3.287 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/7.323, allocations: 232.5 kB / 3.287 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/7.323, allocations: 36.89 kB / 3.287 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/7.323, allocations: 164 kB / 3.287 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/7.323, allocations: 68.62 kB / 3.287 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/7.323, allocations: 4 kB / 3.287 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/7.323, allocations: 344.8 kB / 3.288 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/7.323, allocations: 60.97 kB / 3.288 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/7.323, allocations: 130.1 kB / 3.288 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/7.323, allocations: 83.22 kB / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/7.323, allocations: 0 / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003103/7.324, allocations: 233.3 kB / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/7.324, allocations: 5.375 kB / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/7.324, allocations: 2.125 kB / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/7.324, allocations: 2.906 kB / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/7.324, allocations: 66.59 kB / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/7.324, allocations: 6.5 kB / 3.288 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/7.324, allocations: 52.67 kB / 3.288 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/7.324, allocations: 18.02 kB / 3.288 GB, free: 249.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.546e-05/7.324, allocations: 111.5 kB / 3.288 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/7.324, allocations: 28.47 kB / 3.289 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/7.325, allocations: 242.8 kB / 3.289 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/7.325, allocations: 3.781 kB / 3.289 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/7.325, allocations: 0 / 3.289 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/7.325, allocations: 0 / 3.289 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/7.326, allocations: 0.8489 MB / 3.29 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/7.326, allocations: 3.906 kB / 3.29 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/7.326, allocations: 64.22 kB / 3.29 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/7.326, allocations: 3.562 kB / 3.29 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/7.326, allocations: 7.312 kB / 3.29 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/7.326, allocations: 0 / 3.29 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/7.326, allocations: 6.328 kB / 3.29 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/7.327, allocations: 0.5151 MB / 3.29 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/7.327, allocations: 126.2 kB / 3.29 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/7.327, allocations: 6.828 kB / 3.29 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/7.327, allocations: 41.84 kB / 3.29 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/7.327, allocations: 22.75 kB / 3.29 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/7.327, allocations: 5.594 kB / 3.29 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000129/7.327, allocations: 187.4 kB / 3.291 GB, free: 248 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/7.327, allocations: 0 / 3.291 GB, free: 248 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007172/7.328, allocations: 193.6 kB / 3.291 GB, free: 248 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.001255/7.329, allocations: 1.032 MB / 3.292 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003085/7.33, allocations: 170.4 kB / 3.292 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/7.33, allocations: 0 / 3.292 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/7.33, allocations: 97.39 kB / 3.292 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/7.33, allocations: 132.1 kB / 3.292 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/7.331, allocations: 461.4 kB / 3.293 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/7.331, allocations: 0.7888 MB / 3.293 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002135/7.332, allocations: 58.84 kB / 3.293 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/7.332, allocations: 24 kB / 3.293 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of SimCode: time 4.01e-07/7.332, allocations: 0 / 3.293 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02232/7.354, allocations: 19.92 MB / 3.313 GB, free: 241.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches