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.001177/0.001177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.442/2.442, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7164, allocations: 140.4 MB / 0.9496 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1781/0.8946, allocations: 165.3 MB / 1.111 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.8974, allocations: 1.563 MB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.8977, allocations: 7.938 kB / 1.113 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.8982, allocations: 142.9 kB / 1.113 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.8993, allocations: 465.9 kB / 1.113 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.9011, allocations: 0.7475 MB / 1.114 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006903/0.9018, allocations: 0.7135 MB / 1.115 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.9021, allocations: 254.8 kB / 1.115 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.9026, allocations: 314.8 kB / 1.115 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.9029, allocations: 223.1 kB / 1.115 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.903, allocations: 24 kB / 1.115 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.9043, allocations: 0.8652 MB / 1.116 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.9045, allocations: 115.7 kB / 1.116 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.9046, allocations: 151.3 kB / 1.116 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009902/0.9056, allocations: 0.7364 MB / 1.117 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9057, allocations: 0 / 1.117 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9057, allocations: 0 / 1.117 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.9057, allocations: 4 kB / 1.117 GB, free: 5.688 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.001086/0.9068, allocations: 0.6663 MB / 1.118 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.9068, allocations: 8.031 kB / 1.118 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.9073, allocations: 91.41 kB / 1.118 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.9077, allocations: 301.9 kB / 1.118 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.9078, allocations: 20.56 kB / 1.118 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.9078, allocations: 20 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.9086, allocations: 332.2 kB / 1.118 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9086, allocations: 4 kB / 1.119 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.9086, allocations: 8 kB / 1.119 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.9087, allocations: 15.88 kB / 1.119 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/0.9094, allocations: 277.5 kB / 1.119 GB, free: 3.859 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.001705/0.9111, allocations: 1.079 MB / 1.12 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.912, allocations: 325.1 kB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.9124, allocations: 128.8 kB / 1.12 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.913, allocations: 400.3 kB / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.9131, allocations: 34.56 kB / 1.121 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.9131, allocations: 4 kB / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001214/0.9143, allocations: 401.7 kB / 1.121 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.9144, allocations: 59.41 kB / 1.121 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.9146, allocations: 267 kB / 1.121 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.9146, allocations: 29.7 kB / 1.121 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.9148, allocations: 176.1 kB / 1.122 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.9148, allocations: 63.05 kB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.9149, allocations: 41.7 kB / 1.122 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.915, allocations: 342.8 kB / 1.122 GB, free: 332 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.9153, allocations: 107.9 kB / 1.122 GB, free: 224 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.9157, allocations: 157.8 kB / 1.122 GB, free: 44 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.9163, allocations: 282.7 kB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9163, allocations: 0 / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007254/0.9171, allocations: 314.9 kB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9171, allocations: 8 kB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9171, allocations: 4 kB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.9171, allocations: 3.938 kB / 1.123 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.9174, allocations: 63.89 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.9174, allocations: 64 / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.9177, allocations: 43.75 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.9177, allocations: 8 kB / 1.123 GB, free: 15.31 MB / 0.8887 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.0001465/0.9179, allocations: 158.5 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.9179, allocations: 31.62 kB / 1.123 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.9187, allocations: 307.6 kB / 1.123 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.9187, allocations: 11.94 kB / 1.123 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9188, allocations: 3.984 kB / 1.123 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9188, allocations: 0 / 1.123 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.9202, allocations: 0.9307 MB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.9203, allocations: 0 / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.9205, allocations: 51.91 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9205, allocations: 8.188 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.9206, allocations: 4 kB / 1.124 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.9206, allocations: 3.984 kB / 1.124 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9206, allocations: 4.047 kB / 1.124 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.9217, allocations: 0.5565 MB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.9218, allocations: 136.7 kB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.9219, allocations: 4 kB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.9221, allocations: 23.97 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.9222, allocations: 19.92 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.9222, allocations: 11.94 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001695/0.9224, allocations: 193.9 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9224, allocations: 4 kB / 1.125 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004305/0.9228, allocations: 103.9 kB / 1.125 GB, free: 12.59 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.0004691/0.9233, allocations: 205 kB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007441/0.9241, allocations: 269.4 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9241, allocations: 0 / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.9244, allocations: 140.5 kB / 1.126 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.9252, allocations: 128 kB / 1.126 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.9263, allocations: 0.6145 MB / 1.127 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.9266, allocations: 0.7793 MB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002439/0.9268, allocations: 66.23 kB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.9269, allocations: 27.44 kB / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/0.9269, allocations: 0 / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of Templates: time 0.01145/0.9384, allocations: 5.959 MB / 1.133 GB, free: 4.438 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