Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.029/2.029, 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.0009432/0.0009432, allocations: 176.8 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.335/1.335, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.000935/0.0009351, allocations: 87.97 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.456e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2203, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.574/3.795, allocations: 1.869 GB / 3.075 GB, free: 12.66 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/3.795, allocations: 87.95 kB / 3.075 GB, free: 12.57 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9427/4.738, allocations: 220.5 MB / 3.29 GB, free: 258.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.373e-06/4.738, allocations: 0 / 3.29 GB, free: 258.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.298e-05/4.738, allocations: 15.98 kB / 3.29 GB, free: 258.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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001262/4.739, allocations: 0.6586 MB / 3.291 GB, free: 257.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/4.739, allocations: 12.03 kB / 3.291 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/4.74, allocations: 79.56 kB / 3.291 GB, free: 257.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/4.74, allocations: 313.9 kB / 3.291 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/4.74, allocations: 12 kB / 3.291 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/4.74, allocations: 12 kB / 3.291 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003294/4.741, allocations: 185.1 kB / 3.291 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/4.741, allocations: 259.1 kB / 3.291 GB, free: 257 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/4.741, allocations: 0 / 3.291 GB, free: 257 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/4.741, allocations: 0 / 3.291 GB, free: 257 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/4.741, allocations: 4 kB / 3.291 GB, free: 257 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.001354/4.742, allocations: 0.9927 MB / 3.292 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/4.743, allocations: 272.1 kB / 3.293 GB, free: 255.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/4.743, allocations: 92.78 kB / 3.293 GB, free: 255.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/4.744, allocations: 392.3 kB / 3.293 GB, free: 255.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/4.744, allocations: 46.48 kB / 3.293 GB, free: 255 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/4.744, allocations: 0 / 3.293 GB, free: 255 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001099/4.745, allocations: 302 kB / 3.293 GB, free: 254.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/4.745, allocations: 63.34 kB / 3.294 GB, free: 254.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/4.745, allocations: 184.5 kB / 3.294 GB, free: 254.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/4.745, allocations: 25.7 kB / 3.294 GB, free: 254.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/4.745, allocations: 176.1 kB / 3.294 GB, free: 254.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/4.745, allocations: 59.11 kB / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/4.745, allocations: 0 / 3.294 GB, free: 254.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/4.745, allocations: 330.8 kB / 3.294 GB, free: 253.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/4.745, allocations: 59.98 kB / 3.294 GB, free: 253.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/4.745, allocations: 140.3 kB / 3.294 GB, free: 253.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/4.746, allocations: 176.9 kB / 3.295 GB, free: 253.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/4.746, allocations: 0 / 3.295 GB, free: 253.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007619/4.747, allocations: 314.1 kB / 3.295 GB, free: 253.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/4.747, allocations: 11.95 kB / 3.295 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/4.747, allocations: 0 / 3.295 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/4.747, allocations: 4 kB / 3.295 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/4.747, allocations: 72.03 kB / 3.295 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/4.747, allocations: 4 kB / 3.295 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/4.747, allocations: 47.8 kB / 3.295 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/4.747, allocations: 12 kB / 3.295 GB, free: 253 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 7.039e-05/4.748, allocations: 108.9 kB / 3.295 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/4.748, allocations: 19.72 kB / 3.295 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008266/4.748, allocations: 320.4 kB / 3.295 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/4.748, allocations: 0 / 3.295 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/4.748, allocations: 0 / 3.295 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/4.748, allocations: 7.953 kB / 3.296 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/4.75, allocations: 0.8834 MB / 3.296 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/4.75, allocations: 0 / 3.296 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/4.751, allocations: 64.03 kB / 3.296 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/4.751, allocations: 4 kB / 3.296 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/4.751, allocations: 4 kB / 3.296 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/4.751, allocations: 3.938 kB / 3.296 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/4.751, allocations: 7.938 kB / 3.296 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/4.752, allocations: 0.5883 MB / 3.297 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/4.752, allocations: 124.7 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/4.752, allocations: 4 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/4.752, allocations: 32.03 kB / 3.297 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/4.752, allocations: 23.91 kB / 3.297 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/4.752, allocations: 8 kB / 3.297 GB, free: 250.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.844e-05/4.752, allocations: 148.5 kB / 3.297 GB, free: 250.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/4.752, allocations: 4 kB / 3.297 GB, free: 250.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007225/4.753, allocations: 175.8 kB / 3.298 GB, free: 250.3 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.001388/4.754, allocations: 1.159 MB / 3.299 GB, free: 249.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003133/4.755, allocations: 167.8 kB / 3.299 GB, free: 249 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/4.755, allocations: 4.312 kB / 3.299 GB, free: 249 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/4.755, allocations: 99.84 kB / 3.299 GB, free: 248.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/4.756, allocations: 78.56 kB / 3.299 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/4.756, allocations: 443.6 kB / 3.299 GB, free: 248.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/4.757, allocations: 0.7913 MB / 3.3 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002432/4.757, allocations: 50.05 kB / 3.3 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/4.757, allocations: 23.44 kB / 3.3 GB, free: 247.4 MB / 1.151 GB Notification: Performance of SimCode: time 4.51e-07/4.757, allocations: 0 / 3.3 GB, free: 247.4 MB / 1.151 GB Notification: Performance of Templates: time 0.01442/4.771, allocations: 9.885 MB / 3.31 GB, free: 237.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches