Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.218/2.218, allocations: 390.5 MB / 398 MB, free: 10.97 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.001382/0.001382, allocations: 191.9 kB / 491.2 MB, free: 1.598 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.673/1.673, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009046, allocations: 110.7 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.988e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3129, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.715/6.028, allocations: 1.869 GB / 3.082 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004689/6.029, allocations: 84.92 kB / 3.082 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5462/6.575, allocations: 220.5 MB / 3.297 GB, free: 237 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.936e-06/6.575, allocations: 0 / 3.297 GB, free: 237 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.269e-05/6.575, allocations: 8 kB / 3.297 GB, free: 237 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001573/6.577, allocations: 0.6715 MB / 3.298 GB, free: 236.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/6.577, allocations: 8.031 kB / 3.298 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/6.577, allocations: 87.52 kB / 3.298 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/6.578, allocations: 306 kB / 3.298 GB, free: 235.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/6.578, allocations: 8 kB / 3.298 GB, free: 235.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/6.578, allocations: 19.94 kB / 3.298 GB, free: 235.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003543/6.578, allocations: 185.1 kB / 3.298 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/6.579, allocations: 251.1 kB / 3.299 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/6.579, allocations: 7.938 kB / 3.299 GB, free: 235.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/6.579, allocations: 0 / 3.299 GB, free: 235.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/6.579, allocations: 11.95 kB / 3.299 GB, free: 235.3 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.001549/6.58, allocations: 0.9927 MB / 3.3 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/6.581, allocations: 272.7 kB / 3.3 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/6.581, allocations: 88.83 kB / 3.3 GB, free: 233.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/6.582, allocations: 388.4 kB / 3.3 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/6.582, allocations: 34.62 kB / 3.3 GB, free: 233.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/6.582, allocations: 0 / 3.3 GB, free: 233.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001295/6.583, allocations: 318.5 kB / 3.301 GB, free: 233.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/6.583, allocations: 51.41 kB / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/6.583, allocations: 184.5 kB / 3.301 GB, free: 232.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/6.583, allocations: 29.7 kB / 3.301 GB, free: 232.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/6.583, allocations: 168.2 kB / 3.301 GB, free: 232.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/6.583, allocations: 63.05 kB / 3.301 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/6.583, allocations: 0 / 3.301 GB, free: 232.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001079/6.584, allocations: 338.8 kB / 3.301 GB, free: 232.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/6.584, allocations: 63.84 kB / 3.301 GB, free: 232.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/6.584, allocations: 132.8 kB / 3.302 GB, free: 232 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/6.585, allocations: 176.7 kB / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/6.585, allocations: 4 kB / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000863/6.586, allocations: 314.2 kB / 3.302 GB, free: 231.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/6.586, allocations: 8.094 kB / 3.302 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/6.586, allocations: 8 kB / 3.302 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/6.586, allocations: 0 / 3.302 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/6.586, allocations: 67.89 kB / 3.302 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/6.586, allocations: 4 kB / 3.302 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/6.586, allocations: 47.8 kB / 3.302 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/6.586, allocations: 8 kB / 3.302 GB, free: 231.4 MB / 1.151 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 0.0001131/6.586, allocations: 116.9 kB / 3.302 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/6.586, allocations: 23.72 kB / 3.302 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/6.587, allocations: 316.9 kB / 3.303 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/6.587, allocations: 0 / 3.303 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/6.587, allocations: 4 kB / 3.303 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/6.587, allocations: 0 / 3.303 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/6.589, allocations: 0.8882 MB / 3.303 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/6.589, allocations: 4 kB / 3.304 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/6.589, allocations: 60.14 kB / 3.304 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/6.589, allocations: 7.984 kB / 3.304 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/6.589, allocations: 4 kB / 3.304 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/6.589, allocations: 4 kB / 3.304 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/6.589, allocations: 7.875 kB / 3.304 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/6.59, allocations: 0.5932 MB / 3.304 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/6.591, allocations: 120.8 kB / 3.304 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/6.591, allocations: 4 kB / 3.304 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/6.591, allocations: 31.97 kB / 3.304 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/6.591, allocations: 27.97 kB / 3.304 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/6.591, allocations: 7.953 kB / 3.304 GB, free: 229 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001127/6.591, allocations: 148.5 kB / 3.304 GB, free: 228.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/6.591, allocations: 0 / 3.304 GB, free: 228.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007937/6.592, allocations: 171.8 kB / 3.305 GB, free: 228.7 MB / 1.151 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.00192/6.594, allocations: 1.155 MB / 3.306 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003335/6.594, allocations: 163.8 kB / 3.306 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/6.594, allocations: 0 / 3.306 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/6.594, allocations: 99.84 kB / 3.306 GB, free: 227.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/6.595, allocations: 87.22 kB / 3.306 GB, free: 227.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/6.596, allocations: 447.6 kB / 3.307 GB, free: 226.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/6.596, allocations: 0.7836 MB / 3.307 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002698/6.596, allocations: 54.05 kB / 3.307 GB, free: 225.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/6.597, allocations: 27.42 kB / 3.307 GB, free: 225.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/6.597, allocations: 0 / 3.307 GB, free: 225.8 MB / 1.151 GB Notification: Performance of Templates: time 0.01559/6.612, allocations: 9.896 MB / 3.317 GB, free: 216 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches