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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001803/0.001803, allocations: 198.1 kB / 16.14 MB, free: 6.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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6642 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.91 kB / 0.8119 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7858, allocations: 140.4 MB / 0.9489 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1866/0.9725, allocations: 163 MB / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.9753, allocations: 1.563 MB / 1.11 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.9755, allocations: 19.88 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.976, allocations: 111.2 kB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.9771, allocations: 446.2 kB / 1.11 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.9788, allocations: 0.6886 MB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009114/0.9797, allocations: 0.9905 MB / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.98, allocations: 219.4 kB / 1.112 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.9805, allocations: 286.8 kB / 1.112 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.9808, allocations: 235.1 kB / 1.113 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.9808, allocations: 16 kB / 1.113 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.9824, allocations: 0.9781 MB / 1.114 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.9826, allocations: 107.7 kB / 1.114 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.9827, allocations: 147.3 kB / 1.114 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.9839, allocations: 0.7752 MB / 1.115 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.9839, allocations: 0 / 1.115 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.12e-07/0.9839, allocations: 0 / 1.115 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.9839, allocations: 0 / 1.115 GB, free: 7.906 MB / 0.8731 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.001159/0.9851, allocations: 0.6702 MB / 1.115 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.9851, allocations: 8.031 kB / 1.115 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/0.9856, allocations: 91.34 kB / 1.115 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.9861, allocations: 301.9 kB / 1.116 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.9861, allocations: 20.56 kB / 1.116 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.9862, allocations: 24 kB / 1.116 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.9869, allocations: 340.1 kB / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9869, allocations: 0 / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.9869, allocations: 8 kB / 1.116 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.987, allocations: 15.94 kB / 1.116 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.9877, allocations: 277.5 kB / 1.116 GB, free: 6.066 MB / 0.8731 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.001822/0.9895, allocations: 1.071 MB / 1.117 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.9905, allocations: 323.6 kB / 1.118 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.9909, allocations: 132.8 kB / 1.118 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007944/0.9917, allocations: 396.3 kB / 1.118 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.9918, allocations: 42.5 kB / 1.118 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.9918, allocations: 0 / 1.118 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001279/0.9931, allocations: 407.2 kB / 1.118 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.9931, allocations: 55.41 kB / 1.119 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.9934, allocations: 271 kB / 1.119 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.9934, allocations: 33.7 kB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.9936, allocations: 168.1 kB / 1.119 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.9937, allocations: 63.09 kB / 1.119 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.9938, allocations: 45.7 kB / 1.119 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9939, allocations: 334.8 kB / 1.119 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.9942, allocations: 103.9 kB / 1.12 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.9946, allocations: 175.1 kB / 1.12 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.9952, allocations: 262.2 kB / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9952, allocations: 0 / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000804/0.996, allocations: 321.1 kB / 1.12 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.996, allocations: 4 kB / 1.12 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.9961, allocations: 7.984 kB / 1.12 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.9961, allocations: 4.094 kB / 1.12 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.9964, allocations: 63.89 kB / 1.12 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.9964, allocations: 0 / 1.12 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.9967, allocations: 43.75 kB / 1.12 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.9967, allocations: 12 kB / 1.12 GB, free: 1.52 MB / 0.8731 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.0001694/0.9969, allocations: 157.8 kB / 1.121 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.997, allocations: 27.62 kB / 1.121 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/0.9978, allocations: 309.9 kB / 1.121 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.9978, allocations: 7.938 kB / 1.121 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9978, allocations: 0 / 1.121 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9978, allocations: 7.984 kB / 1.121 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.9993, allocations: 0.929 MB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9994, allocations: 3.984 kB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.9997, allocations: 47.91 kB / 1.122 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.9997, allocations: 4 kB / 1.122 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.9997, allocations: 12.25 kB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9997, allocations: 4 kB / 1.122 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.9997, allocations: 7.984 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/1.001, allocations: 0.5526 MB / 1.122 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/1.001, allocations: 128.7 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/1.001, allocations: 16 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/1.001, allocations: 23.97 kB / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/1.001, allocations: 31.78 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/1.001, allocations: 8 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001649/1.002, allocations: 190 kB / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/1.002, allocations: 4 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004383/1.002, allocations: 111.8 kB / 1.123 GB, free: 14.79 MB / 0.8887 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.0005174/1.003, allocations: 203.1 kB / 1.123 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007443/1.003, allocations: 247.7 kB / 1.123 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.003, allocations: 0 / 1.123 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/1.004, allocations: 136.5 kB / 1.123 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/1.004, allocations: 133.9 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/1.006, allocations: 0.6912 MB / 1.124 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/1.006, allocations: 0.7797 MB / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002432/1.006, allocations: 70.23 kB / 1.125 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/1.006, allocations: 23.44 kB / 1.125 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/1.006, allocations: 3.938 kB / 1.125 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of Templates: time 0.01121/1.018, allocations: 5.586 MB / 1.131 GB, free: 6.938 MB / 0.8887 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches