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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 107.8 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8106, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1693/0.9799, allocations: 165.3 MB / 1.37 GB, free: 7.707 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.983, allocations: 1.557 MB / 1.371 GB, free: 6.148 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.9834, allocations: 7.938 kB / 1.371 GB, free: 6.141 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.984, allocations: 146.9 kB / 1.371 GB, free: 5.996 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.9855, allocations: 469.8 kB / 1.372 GB, free: 5.535 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.9876, allocations: 0.751 MB / 1.373 GB, free: 4.785 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009669/0.9886, allocations: 0.7059 MB / 1.373 GB, free: 4.078 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.9891, allocations: 270.6 kB / 1.374 GB, free: 3.809 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.9899, allocations: 314.8 kB / 1.374 GB, free: 3.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.9903, allocations: 235 kB / 1.374 GB, free: 3.27 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.9904, allocations: 24 kB / 1.374 GB, free: 3.246 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.9919, allocations: 0.8613 MB / 1.375 GB, free: 2.383 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.9921, allocations: 115.7 kB / 1.375 GB, free: 2.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.9923, allocations: 155.3 kB / 1.375 GB, free: 2.117 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.9937, allocations: 0.7421 MB / 1.376 GB, free: 1.375 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9937, allocations: 4 kB / 1.376 GB, free: 1.371 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9937, allocations: 0 / 1.376 GB, free: 1.371 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.9937, allocations: 4 kB / 1.376 GB, free: 1.367 MB / 1.092 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.001249/0.995, allocations: 0.6701 MB / 1.377 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.995, allocations: 12.03 kB / 1.377 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.9956, allocations: 83.52 kB / 1.377 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.996, allocations: 313.8 kB / 1.377 GB, free: 216 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.9961, allocations: 20.56 kB / 1.377 GB, free: 192 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.9961, allocations: 24 kB / 1.377 GB, free: 168 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.9968, allocations: 328.2 kB / 1.377 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.9968, allocations: 0 / 1.377 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.9969, allocations: 8 kB / 1.377 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.9969, allocations: 11.94 kB / 1.377 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.9977, allocations: 289.5 kB / 1.378 GB, free: 15.53 MB / 1.107 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.001695/0.9994, allocations: 1.059 MB / 1.379 GB, free: 14.4 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/1, allocations: 331.6 kB / 1.379 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/1.001, allocations: 132.8 kB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/1.001, allocations: 392.3 kB / 1.38 GB, free: 13.46 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/1.001, allocations: 34.56 kB / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/1.001, allocations: 0 / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001247/1.003, allocations: 410.4 kB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/1.003, allocations: 55.41 kB / 1.38 GB, free: 12.95 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/1.003, allocations: 275 kB / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/1.003, allocations: 25.7 kB / 1.38 GB, free: 12.64 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/1.003, allocations: 172.2 kB / 1.38 GB, free: 12.46 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/1.003, allocations: 70.98 kB / 1.381 GB, free: 12.39 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/1.003, allocations: 41.72 kB / 1.381 GB, free: 12.35 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.003, allocations: 338.8 kB / 1.381 GB, free: 12.01 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/1.004, allocations: 107.9 kB / 1.381 GB, free: 11.9 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/1.004, allocations: 160.3 kB / 1.381 GB, free: 11.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/1.005, allocations: 263.3 kB / 1.381 GB, free: 11.45 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.005, allocations: 7.938 kB / 1.381 GB, free: 11.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007787/1.006, allocations: 313.1 kB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.006, allocations: 5.719 kB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.006, allocations: 8.141 kB / 1.382 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.006, allocations: 11.88 kB / 1.382 GB, free: 11.11 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/1.006, allocations: 51.97 kB / 1.382 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.006, allocations: 3.938 kB / 1.382 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/1.006, allocations: 43.66 kB / 1.382 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/1.006, allocations: 12.03 kB / 1.382 GB, free: 11 MB / 1.107 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.006, allocations: 149.8 kB / 1.382 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/1.006, allocations: 31.7 kB / 1.382 GB, free: 10.81 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008083/1.007, allocations: 325.7 kB / 1.382 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.007, allocations: 3.938 kB / 1.382 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.007, allocations: 3.938 kB / 1.382 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.007, allocations: 64 / 1.382 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/1.009, allocations: 0.9369 MB / 1.383 GB, free: 9.438 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.009, allocations: 4 kB / 1.383 GB, free: 9.434 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/1.009, allocations: 43.95 kB / 1.383 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.009, allocations: 4 kB / 1.383 GB, free: 9.387 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/1.009, allocations: 11.94 kB / 1.383 GB, free: 9.375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.009, allocations: 4 kB / 1.383 GB, free: 9.371 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.009, allocations: 4.188 kB / 1.383 GB, free: 9.367 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/1.01, allocations: 0.5605 MB / 1.384 GB, free: 8.773 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.01, allocations: 120.7 kB / 1.384 GB, free: 8.637 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/1.011, allocations: 8 kB / 1.384 GB, free: 8.629 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/1.011, allocations: 24.03 kB / 1.384 GB, free: 8.605 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/1.011, allocations: 23.91 kB / 1.384 GB, free: 8.582 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/1.011, allocations: 12 kB / 1.384 GB, free: 8.57 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001731/1.011, allocations: 190 kB / 1.384 GB, free: 8.383 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 0 / 1.384 GB, free: 8.383 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004573/1.012, allocations: 107.8 kB / 1.384 GB, free: 8.277 MB / 1.107 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/1.012, allocations: 200.1 kB / 1.385 GB, free: 8.078 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0007484/1.013, allocations: 251.9 kB / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.013, allocations: 3.938 kB / 1.385 GB, free: 7.828 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/1.013, allocations: 139.8 kB / 1.385 GB, free: 7.691 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/1.014, allocations: 127.3 kB / 1.385 GB, free: 7.57 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.015, allocations: 0.6364 MB / 1.386 GB, free: 6.887 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/1.015, allocations: 0.7794 MB / 1.386 GB, free: 6.082 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/1.016, allocations: 31.38 kB / 1.386 GB, free: 6.051 MB / 1.107 GB Notification: Performance of SimCode: time 3.41e-07/1.016, allocations: 0 / 1.386 GB, free: 6.051 MB / 1.107 GB Notification: Performance of Templates: time 0.008189/1.024, allocations: 5.142 MB / 1.391 GB, free: 0.9492 MB / 1.107 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches