Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 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.001131/0.001131, allocations: 198 kB / 16.54 MB, free: 6.672 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6712, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1933/0.8646, allocations: 181.8 MB / 1.195 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006081/0.8707, allocations: 4.453 MB / 1.199 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007233/0.8714, allocations: 19.88 kB / 1.199 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000784/0.8722, allocations: 254.1 kB / 1.199 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.8742, allocations: 0.7541 MB / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004714/0.8789, allocations: 1.51 MB / 1.202 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.8812, allocations: 1.25 MB / 1.203 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008011/0.882, allocations: 453.3 kB / 1.203 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.8833, allocations: 0.5721 MB / 1.204 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005058/0.8838, allocations: 406.3 kB / 1.204 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.191e-05/0.8839, allocations: 44 kB / 1.204 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.8869, allocations: 1.547 MB / 1.206 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.8871, allocations: 187.5 kB / 1.206 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.8875, allocations: 302.5 kB / 1.206 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.89, allocations: 1.29 MB / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.89, allocations: 3.938 kB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.89, allocations: 0 / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.89, allocations: 4 kB / 1.207 GB, free: 14.95 MB / 0.9669 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.001801/0.8918, allocations: 1.019 MB / 1.208 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.8919, allocations: 8.031 kB / 1.209 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.894, allocations: 286.9 kB / 1.209 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/0.895, allocations: 445.4 kB / 1.209 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.895, allocations: 29 kB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.8951, allocations: 47.98 kB / 1.209 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.8962, allocations: 0.5468 MB / 1.21 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.8962, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.8963, allocations: 16 kB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.8963, allocations: 15.94 kB / 1.21 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.8974, allocations: 459.5 kB / 1.21 GB, free: 11.97 MB / 0.9669 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.002706/0.9001, allocations: 2.123 MB / 1.212 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.9011, allocations: 410.4 kB / 1.213 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.9016, allocations: 236.6 kB / 1.213 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007203/0.9023, allocations: 396.3 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006801/0.903, allocations: 290.9 kB / 1.214 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 7.013e-06/0.9031, allocations: 4 kB / 1.214 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001904/0.905, allocations: 0.684 MB / 1.214 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.905, allocations: 59.39 kB / 1.214 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.9056, allocations: 498.1 kB / 1.215 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.9057, allocations: 33.7 kB / 1.215 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.9059, allocations: 272 kB / 1.215 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.906, allocations: 114.3 kB / 1.215 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.9062, allocations: 98.02 kB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9064, allocations: 358.8 kB / 1.216 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.9069, allocations: 196.8 kB / 1.216 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.9075, allocations: 320 kB / 1.216 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.9085, allocations: 0.5453 MB / 1.217 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9085, allocations: 11.94 kB / 1.217 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001353/0.9099, allocations: 0.6484 MB / 1.217 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.91, allocations: 64.81 kB / 1.217 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.91, allocations: 3.984 kB / 1.217 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.91, allocations: 8 kB / 1.217 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.9105, allocations: 87.89 kB / 1.217 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.9105, allocations: 15.92 kB / 1.218 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.9111, allocations: 71.64 kB / 1.218 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.9112, allocations: 24 kB / 1.218 GB, free: 4.07 MB / 0.9669 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.0002555/0.9114, allocations: 203.7 kB / 1.218 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.9115, allocations: 51.34 kB / 1.218 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.9127, allocations: 0.5332 MB / 1.218 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9127, allocations: 4 kB / 1.218 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9128, allocations: 0 / 1.218 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.9128, allocations: 7.984 kB / 1.218 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.9151, allocations: 1.35 MB / 1.22 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.9151, allocations: 7.938 kB / 1.22 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.9155, allocations: 79.88 kB / 1.22 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.9155, allocations: 4.438 kB / 1.22 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.9156, allocations: 12 kB / 1.22 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.9156, allocations: 11.94 kB / 1.22 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9156, allocations: 4 kB / 1.22 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.9173, allocations: 0.9264 MB / 1.221 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.9176, allocations: 172.3 kB / 1.221 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.9177, allocations: 15.98 kB / 1.221 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.9182, allocations: 35.97 kB / 1.221 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.9183, allocations: 55.81 kB / 1.221 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.9183, allocations: 16 kB / 1.221 GB, free: 404 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003969/0.9188, allocations: 346.8 kB / 1.221 GB, free: 60 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9188, allocations: 4 kB / 1.221 GB, free: 56 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006342/0.9194, allocations: 159.8 kB / 1.221 GB, free: 15.9 MB / 0.9825 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.0004707/0.9199, allocations: 188.5 kB / 1.222 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.9211, allocations: 0.5961 MB / 1.222 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.9212, allocations: 0 / 1.222 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.9218, allocations: 298.3 kB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.9233, allocations: 287.8 kB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.9251, allocations: 1.049 MB / 1.224 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.9256, allocations: 0.8665 MB / 1.225 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005077/0.9261, allocations: 124.7 kB / 1.225 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.9262, allocations: 43.42 kB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.9263, allocations: 0 / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.01855/0.9448, allocations: 10.78 MB / 1.235 GB, free: 1.73 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches