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.351/1.351, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 183.2 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008751/0.0008748, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005076, allocations: 9.688 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.131/5.361, allocations: 2.182 GB / 3.082 GB, free: 38.81 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/5.361, allocations: 91.89 kB / 3.082 GB, free: 38.72 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.001/6.362, allocations: 214.7 MB / 3.292 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.305e-06/6.362, allocations: 0 / 3.292 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.585e-05/6.362, allocations: 12 kB / 3.292 GB, free: 185.1 MB / 0.8855 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.001567/6.363, allocations: 0.7014 MB / 3.293 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/6.363, allocations: 8.031 kB / 3.293 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/6.364, allocations: 77.12 kB / 3.293 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/6.364, allocations: 311.7 kB / 3.293 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/6.364, allocations: 16.56 kB / 3.293 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/6.364, allocations: 24 kB / 3.293 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/6.365, allocations: 340.2 kB / 3.293 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/6.365, allocations: 7.938 kB / 3.293 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/6.365, allocations: 4 kB / 3.293 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/6.365, allocations: 8 kB / 3.293 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/6.366, allocations: 301.5 kB / 3.294 GB, free: 183.2 MB / 0.8855 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.001495/6.367, allocations: 1.071 MB / 3.295 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/6.368, allocations: 329.9 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/6.369, allocations: 392.4 kB / 3.295 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/6.369, allocations: 38.56 kB / 3.295 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/6.369, allocations: 0 / 3.295 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001145/6.37, allocations: 441.4 kB / 3.296 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/6.37, allocations: 51.41 kB / 3.296 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/6.37, allocations: 237.8 kB / 3.296 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/6.37, allocations: 33.7 kB / 3.296 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/6.37, allocations: 160.1 kB / 3.296 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/6.37, allocations: 75.02 kB / 3.296 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/6.37, allocations: 4 kB / 3.296 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/6.37, allocations: 338.8 kB / 3.297 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/6.371, allocations: 115.9 kB / 3.297 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/6.371, allocations: 178.7 kB / 3.297 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/6.371, allocations: 133.9 kB / 3.297 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/6.371, allocations: 0 / 3.297 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006404/6.372, allocations: 341.1 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/6.372, allocations: 8 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/6.372, allocations: 0 / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/6.372, allocations: 4 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/6.372, allocations: 68.02 kB / 3.298 GB, free: 179 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/6.372, allocations: 4 kB / 3.298 GB, free: 179 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/6.373, allocations: 51.7 kB / 3.298 GB, free: 179 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/6.373, allocations: 12 kB / 3.298 GB, free: 178.9 MB / 0.8855 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 () * Number of clocked 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 0.0001394/6.373, allocations: 161.7 kB / 3.298 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/6.373, allocations: 27.67 kB / 3.298 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006818/6.373, allocations: 341.9 kB / 3.298 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/6.373, allocations: 3.953 kB / 3.298 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/6.373, allocations: 8 kB / 3.298 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/6.374, allocations: 4.031 kB / 3.298 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/6.375, allocations: 0.9409 MB / 3.299 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/6.375, allocations: 0 / 3.299 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/6.375, allocations: 68.08 kB / 3.299 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/6.375, allocations: 4 kB / 3.299 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/6.375, allocations: 4 kB / 3.299 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/6.375, allocations: 0 / 3.299 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/6.375, allocations: 4 kB / 3.299 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009189/6.376, allocations: 0.6779 MB / 3.3 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/6.376, allocations: 116.8 kB / 3.3 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/6.376, allocations: 4 kB / 3.3 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/6.376, allocations: 35.97 kB / 3.3 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/6.377, allocations: 27.97 kB / 3.3 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/6.377, allocations: 12.06 kB / 3.3 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001436/6.377, allocations: 186 kB / 3.3 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/6.377, allocations: 0 / 3.3 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008158/6.378, allocations: 207.7 kB / 3.3 GB, free: 175.9 MB / 0.8855 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 () * Number of clocked 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.00164/6.379, allocations: 1.015 MB / 3.301 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006605/6.38, allocations: 281.7 kB / 3.302 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/6.38, allocations: 4 kB / 3.302 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/6.38, allocations: 148.2 kB / 3.302 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/6.381, allocations: 116.8 kB / 3.302 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/6.382, allocations: 0.6993 MB / 3.303 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/6.382, allocations: 0.7875 MB / 3.303 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002424/6.382, allocations: 58.25 kB / 3.303 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/6.382, allocations: 23.44 kB / 3.303 GB, free: 172.7 MB / 0.8855 GB Notification: Performance of SimCode: time 7.11e-07/6.382, allocations: 3.938 kB / 3.303 GB, free: 172.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.02034/6.403, allocations: 17.2 MB / 3.32 GB, free: 155.6 MB / 0.8855 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