Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008701/0.008701, allocations: 99.58 kB / 15.73 MB, free: 6.043 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.001721/0.001721, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.975/2.975, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3632, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 1.064/1.427, allocations: 182.3 MB / 1.399 GB, free: 6.875 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007083/1.434, allocations: 4.462 MB / 1.403 GB, free: 3.25 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007646/1.435, allocations: 19.88 kB / 1.403 GB, free: 3.242 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008403/1.436, allocations: 249.8 kB / 1.403 GB, free: 3.023 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/1.438, allocations: 0.7948 MB / 1.404 GB, free: 2.406 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/1.443, allocations: 1.548 MB / 1.406 GB, free: 1.273 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002192/1.445, allocations: 1.257 MB / 1.407 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/1.446, allocations: 390.4 kB / 1.407 GB, free: 296 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/1.447, allocations: 0.5814 MB / 1.408 GB, free: 15.96 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000563/1.448, allocations: 414.1 kB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 8.54e-05/1.448, allocations: 44.97 kB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/1.451, allocations: 1.547 MB / 1.41 GB, free: 14.83 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/1.451, allocations: 199.8 kB / 1.41 GB, free: 14.69 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003483/1.452, allocations: 299.8 kB / 1.41 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/1.454, allocations: 1.315 MB / 1.411 GB, free: 13.71 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.454, allocations: 0 / 1.411 GB, free: 13.71 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.292e-06/1.454, allocations: 0 / 1.411 GB, free: 13.71 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.454, allocations: 0 / 1.411 GB, free: 13.71 MB / 1.107 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.001918/1.456, allocations: 1.041 MB / 1.412 GB, free: 12.84 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.456, allocations: 9.188 kB / 1.412 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/1.458, allocations: 287.8 kB / 1.413 GB, free: 12.71 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/1.459, allocations: 467.6 kB / 1.413 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/1.459, allocations: 35.84 kB / 1.413 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/1.459, allocations: 41 kB / 1.413 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.46, allocations: 0.5459 MB / 1.414 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/1.46, allocations: 7.062 kB / 1.414 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/1.46, allocations: 18.66 kB / 1.414 GB, free: 11.91 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/1.46, allocations: 14.66 kB / 1.414 GB, free: 11.91 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/1.461, allocations: 456.5 kB / 1.414 GB, free: 11.69 MB / 1.107 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.002732/1.464, allocations: 2.123 MB / 1.416 GB, free: 9.836 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/1.465, allocations: 401.7 kB / 1.417 GB, free: 9.629 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/1.465, allocations: 208.1 kB / 1.417 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/1.466, allocations: 410.6 kB / 1.417 GB, free: 9.113 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006308/1.467, allocations: 295.1 kB / 1.418 GB, free: 8.926 MB / 1.107 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/1.467, allocations: 0 / 1.418 GB, free: 8.926 MB / 1.107 GB Notification: Performance of matching and sorting (n=37): time 0.001758/1.469, allocations: 0.6861 MB / 1.418 GB, free: 8.598 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.469, allocations: 62.81 kB / 1.418 GB, free: 8.531 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/1.469, allocations: 497.5 kB / 1.419 GB, free: 8.23 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/1.469, allocations: 32.7 kB / 1.419 GB, free: 8.195 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/1.469, allocations: 268.6 kB / 1.419 GB, free: 7.957 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.47, allocations: 128.7 kB / 1.419 GB, free: 7.848 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.47, allocations: 91.7 kB / 1.419 GB, free: 7.789 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.47, allocations: 359.8 kB / 1.42 GB, free: 7.441 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/1.47, allocations: 205.9 kB / 1.42 GB, free: 7.344 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/1.471, allocations: 317.3 kB / 1.42 GB, free: 7.121 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/1.472, allocations: 0.544 MB / 1.421 GB, free: 6.742 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.472, allocations: 0 / 1.421 GB, free: 6.742 MB / 1.107 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001328/1.473, allocations: 0.6527 MB / 1.421 GB, free: 6.375 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/1.473, allocations: 67.17 kB / 1.421 GB, free: 6.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.473, allocations: 1.844 kB / 1.421 GB, free: 6.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.473, allocations: 6 kB / 1.421 GB, free: 6.305 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/1.474, allocations: 98.97 kB / 1.421 GB, free: 6.277 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.474, allocations: 9.781 kB / 1.421 GB, free: 6.273 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/1.474, allocations: 74.02 kB / 1.422 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/1.475, allocations: 23.27 kB / 1.422 GB, free: 6.223 MB / 1.107 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.0002433/1.475, allocations: 198.9 kB / 1.422 GB, free: 6.055 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/1.475, allocations: 56.89 kB / 1.422 GB, free: 6.023 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/1.476, allocations: 0.5416 MB / 1.422 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.476, allocations: 2.75 kB / 1.422 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.476, allocations: 0 / 1.422 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.476, allocations: 0 / 1.422 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/1.478, allocations: 1.35 MB / 1.424 GB, free: 4.742 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.478, allocations: 6.312 kB / 1.424 GB, free: 4.742 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/1.479, allocations: 79.8 kB / 1.424 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.479, allocations: 5.344 kB / 1.424 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/1.479, allocations: 19.92 kB / 1.424 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/1.479, allocations: 9.25 kB / 1.424 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.479, allocations: 2.688 kB / 1.424 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/1.48, allocations: 0.9405 MB / 1.425 GB, free: 3.715 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/1.481, allocations: 176.5 kB / 1.425 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/1.481, allocations: 12 kB / 1.425 GB, free: 3.512 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/1.481, allocations: 35.95 kB / 1.425 GB, free: 3.477 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.481, allocations: 52.7 kB / 1.425 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/1.481, allocations: 16.06 kB / 1.425 GB, free: 3.41 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003899/1.482, allocations: 346.8 kB / 1.425 GB, free: 3.074 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.482, allocations: 0 / 1.425 GB, free: 3.074 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005712/1.482, allocations: 151.9 kB / 1.425 GB, free: 2.926 MB / 1.107 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.0004959/1.483, allocations: 205.9 kB / 1.426 GB, free: 2.727 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001194/1.484, allocations: 0.5764 MB / 1.426 GB, free: 2.125 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.484, allocations: 0.75 kB / 1.426 GB, free: 2.125 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006292/1.485, allocations: 275.8 kB / 1.426 GB, free: 1.855 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.486, allocations: 289.3 kB / 1.427 GB, free: 1.586 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/1.488, allocations: 1.052 MB / 1.428 GB, free: 472 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/1.488, allocations: 0.8665 MB / 1.429 GB, free: 15.57 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004192/1.489, allocations: 132.6 kB / 1.429 GB, free: 15.44 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.489, allocations: 47.44 kB / 1.429 GB, free: 15.39 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.489, allocations: 0 / 1.429 GB, free: 15.39 MB / 1.123 GB Notification: Performance of Templates: time 0.01985/1.509, allocations: 10.89 MB / 1.439 GB, free: 4.672 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches