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.001635/0.001635, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001874/0.001874, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.239/2.239, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.25 kB / 0.8132 GB, free: 32.94 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7627/1.073, allocations: 165.3 MB / 1.112 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00312/1.076, allocations: 1.549 MB / 1.113 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/1.077, allocations: 12.31 kB / 1.113 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/1.077, allocations: 144.9 kB / 1.113 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/1.079, allocations: 467 kB / 1.114 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/1.081, allocations: 0.7582 MB / 1.115 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00134/1.083, allocations: 0.7003 MB / 1.115 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/1.083, allocations: 264.1 kB / 1.115 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006934/1.084, allocations: 309.4 kB / 1.116 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/1.084, allocations: 229.4 kB / 1.116 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/1.084, allocations: 24.31 kB / 1.116 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/1.086, allocations: 0.8631 MB / 1.117 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/1.087, allocations: 112.2 kB / 1.117 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/1.087, allocations: 158.8 kB / 1.117 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/1.089, allocations: 0.7289 MB / 1.118 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.089, allocations: 1.094 kB / 1.118 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/1.089, allocations: 0.9688 kB / 1.118 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.089, allocations: 0 / 1.118 GB, free: 5.422 MB / 0.8575 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.001442/1.09, allocations: 0.6733 MB / 1.118 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.09, allocations: 13.25 kB / 1.118 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005961/1.091, allocations: 87.02 kB / 1.119 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/1.091, allocations: 297.8 kB / 1.119 GB, free: 20.67 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/1.091, allocations: 22.31 kB / 1.119 GB, free: 20.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/1.091, allocations: 22.31 kB / 1.119 GB, free: 20.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/1.092, allocations: 331.3 kB / 1.119 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.092, allocations: 0.5625 kB / 1.119 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/1.092, allocations: 9.219 kB / 1.119 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.092, allocations: 14.34 kB / 1.119 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/1.093, allocations: 284.9 kB / 1.119 GB, free: 20.6 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.001849/1.095, allocations: 1.076 MB / 1.121 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/1.096, allocations: 327.4 kB / 1.121 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/1.096, allocations: 134.5 kB / 1.121 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000727/1.097, allocations: 393 kB / 1.121 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/1.097, allocations: 32.5 kB / 1.121 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.645e-06/1.097, allocations: 0 / 1.121 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001292/1.098, allocations: 405.7 kB / 1.122 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/1.098, allocations: 57.94 kB / 1.122 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/1.098, allocations: 276.2 kB / 1.122 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/1.098, allocations: 28.41 kB / 1.122 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.099, allocations: 170.5 kB / 1.122 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/1.099, allocations: 67.42 kB / 1.122 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/1.099, allocations: 45.47 kB / 1.122 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.099, allocations: 335.6 kB / 1.123 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/1.099, allocations: 104.2 kB / 1.123 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/1.1, allocations: 167.8 kB / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/1.1, allocations: 273.2 kB / 1.123 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.1, allocations: 0 / 1.123 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007775/1.101, allocations: 316.2 kB / 1.124 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.101, allocations: 6.438 kB / 1.124 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.101, allocations: 2.297 kB / 1.124 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.101, allocations: 7.312 kB / 1.124 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/1.101, allocations: 64.52 kB / 1.124 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.101, allocations: 3.328 kB / 1.124 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/1.102, allocations: 35.22 kB / 1.124 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/1.102, allocations: 7.312 kB / 1.124 GB, free: 18.61 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.0001753/1.102, allocations: 156.5 kB / 1.124 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/1.102, allocations: 36.59 kB / 1.124 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000854/1.103, allocations: 316.5 kB / 1.124 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.103, allocations: 6.219 kB / 1.124 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.103, allocations: 0 / 1.124 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.103, allocations: 3.469 kB / 1.124 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.105, allocations: 0.9354 MB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.105, allocations: 2.781 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/1.105, allocations: 52.39 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/1.105, allocations: 5.844 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/1.105, allocations: 3.531 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.105, allocations: 4.656 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.105, allocations: 5.031 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.106, allocations: 0.5535 MB / 1.126 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/1.106, allocations: 130.1 kB / 1.126 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/1.106, allocations: 3.406 kB / 1.126 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/1.106, allocations: 24.28 kB / 1.126 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/1.106, allocations: 27.7 kB / 1.126 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/1.106, allocations: 10.38 kB / 1.126 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001919/1.107, allocations: 192.4 kB / 1.126 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/1.107, allocations: 0 / 1.126 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005275/1.107, allocations: 105.7 kB / 1.126 GB, free: 17.48 MB / 0.8731 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.0005079/1.108, allocations: 207.1 kB / 1.126 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008891/1.109, allocations: 263.9 kB / 1.127 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.109, allocations: 1.094 kB / 1.127 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/1.109, allocations: 136.1 kB / 1.127 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/1.11, allocations: 136.2 kB / 1.127 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/1.111, allocations: 0.6436 MB / 1.127 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.111, allocations: 0.7804 MB / 1.128 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/1.111, allocations: 32.56 kB / 1.128 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/1.111, allocations: 0 / 1.128 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.008066/1.119, allocations: 5.109 MB / 1.133 GB, free: 15.8 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches