Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 99.11 kB / 16.02 MB, free: 76 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.001498/0.001498, allocations: 182 kB / 16.92 MB, free: 6.918 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.9 MB / 0.667 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 12 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6919/0.6923, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1955/0.8879, allocations: 177.2 MB / 1.129 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006895/0.8949, allocations: 4.436 MB / 1.133 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008709/0.8958, allocations: 15.88 kB / 1.133 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.8966, allocations: 190.7 kB / 1.133 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.8988, allocations: 0.7078 MB / 1.134 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.9029, allocations: 1.406 MB / 1.135 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002162/0.9051, allocations: 1.683 MB / 1.137 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008062/0.9059, allocations: 373.7 kB / 1.137 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.9073, allocations: 0.5058 MB / 1.138 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.9081, allocations: 418.2 kB / 1.138 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.9082, allocations: 32 kB / 1.138 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.9117, allocations: 1.804 MB / 1.14 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.912, allocations: 175.4 kB / 1.14 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.9125, allocations: 304.2 kB / 1.14 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.9143, allocations: 0.8887 MB / 1.141 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9143, allocations: 0 / 1.141 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9143, allocations: 0 / 1.141 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.9143, allocations: 0 / 1.141 GB, free: 0.6367 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002032/0.9164, allocations: 0.9319 MB / 1.142 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9164, allocations: 8.031 kB / 1.142 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.9186, allocations: 286.9 kB / 1.143 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.9194, allocations: 445.4 kB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.9194, allocations: 37 kB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.9196, allocations: 40 kB / 1.143 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.9207, allocations: 0.5664 MB / 1.144 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.9208, allocations: 0 / 1.144 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.9208, allocations: 19.94 kB / 1.144 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.9208, allocations: 12 kB / 1.144 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.922, allocations: 495.5 kB / 1.144 GB, free: 13.69 MB / 0.9044 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.002821/0.9248, allocations: 2.119 MB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.9259, allocations: 454.3 kB / 1.147 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.9265, allocations: 245.3 kB / 1.147 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.9272, allocations: 416.2 kB / 1.147 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.9279, allocations: 306.9 kB / 1.148 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 3.496e-06/0.928, allocations: 0 / 1.148 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001984/0.9299, allocations: 0.735 MB / 1.148 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.93, allocations: 67.09 kB / 1.148 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.9307, allocations: 494.1 kB / 1.149 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.9308, allocations: 41.69 kB / 1.149 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.931, allocations: 256 kB / 1.149 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.9312, allocations: 126.3 kB / 1.149 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.9312, allocations: 45.69 kB / 1.149 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9314, allocations: 362.8 kB / 1.15 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.9319, allocations: 212.8 kB / 1.15 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.9326, allocations: 333.5 kB / 1.15 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.9337, allocations: 0.5762 MB / 1.151 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9337, allocations: 7.938 kB / 1.151 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001437/0.9352, allocations: 0.6795 MB / 1.151 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.9352, allocations: 61.12 kB / 1.151 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9353, allocations: 4 kB / 1.151 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.9353, allocations: 7.984 kB / 1.151 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.9358, allocations: 99.89 kB / 1.151 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.9358, allocations: 11.92 kB / 1.151 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.9364, allocations: 95.48 kB / 1.152 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.9365, allocations: 23.98 kB / 1.152 GB, free: 5.582 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002664/0.9368, allocations: 189.6 kB / 1.152 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.9369, allocations: 59.33 kB / 1.152 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.9383, allocations: 0.5579 MB / 1.152 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.9383, allocations: 7.984 kB / 1.152 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.9383, allocations: 4 kB / 1.152 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.9383, allocations: 4 kB / 1.152 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.9408, allocations: 1.393 MB / 1.154 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.9408, allocations: 4 kB / 1.154 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.9412, allocations: 75.89 kB / 1.154 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.9413, allocations: 8 kB / 1.154 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.9413, allocations: 8 kB / 1.154 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.9413, allocations: 16.05 kB / 1.154 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.9413, allocations: 8.062 kB / 1.154 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.9432, allocations: 0.9834 MB / 1.155 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.9435, allocations: 180.4 kB / 1.155 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.9436, allocations: 12 kB / 1.155 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.9441, allocations: 47.86 kB / 1.155 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.9442, allocations: 55.81 kB / 1.155 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.9443, allocations: 16 kB / 1.155 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004347/0.9447, allocations: 342.8 kB / 1.155 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9447, allocations: 0 / 1.155 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006502/0.9454, allocations: 159.8 kB / 1.156 GB, free: 1.27 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005299/0.9459, allocations: 203.7 kB / 1.156 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.9473, allocations: 0.6122 MB / 1.156 GB, free: 436 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9473, allocations: 0 / 1.156 GB, free: 436 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.948, allocations: 286.1 kB / 1.157 GB, free: 152 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.9498, allocations: 269.7 kB / 1.157 GB, free: 15.89 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.952, allocations: 1.284 MB / 1.158 GB, free: 14.53 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.9524, allocations: 0.8668 MB / 1.159 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.9527, allocations: 43.44 kB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of SimCode: time 7.31e-07/0.9527, allocations: 0 / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of Templates: time 0.01491/0.9676, allocations: 8.939 MB / 1.168 GB, free: 4.75 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches