Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001442/0.001442, allocations: 115 kB / 16.37 MB, free: 5.539 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.001443/0.001443, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.53/2.53, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.53 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8807/1.202, allocations: 181.8 MB / 1.204 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006285/1.208, allocations: 4.442 MB / 1.209 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006852/1.209, allocations: 21 kB / 1.209 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/1.21, allocations: 256.6 kB / 1.209 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/1.212, allocations: 0.7524 MB / 1.21 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003536/1.215, allocations: 1.522 MB / 1.211 GB, free: 12.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001564/1.217, allocations: 1.253 MB / 1.212 GB, free: 11.61 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006137/1.218, allocations: 443.1 kB / 1.213 GB, free: 11.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000979/1.219, allocations: 0.5779 MB / 1.213 GB, free: 11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/1.219, allocations: 404 kB / 1.214 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/1.219, allocations: 49.41 kB / 1.214 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/1.222, allocations: 1.538 MB / 1.215 GB, free: 9.887 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/1.222, allocations: 194.8 kB / 1.215 GB, free: 9.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/1.222, allocations: 301 kB / 1.216 GB, free: 9.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/1.224, allocations: 1.306 MB / 1.217 GB, free: 8.773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.224, allocations: 0 / 1.217 GB, free: 8.773 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/1.224, allocations: 1.812 kB / 1.217 GB, free: 8.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.224, allocations: 0 / 1.217 GB, free: 8.773 MB / 0.92 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.001736/1.226, allocations: 1.016 MB / 1.218 GB, free: 7.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.226, allocations: 10.12 kB / 1.218 GB, free: 7.93 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/1.228, allocations: 289 kB / 1.218 GB, free: 7.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/1.229, allocations: 463.3 kB / 1.219 GB, free: 7.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/1.229, allocations: 35.12 kB / 1.219 GB, free: 7.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/1.229, allocations: 53.02 kB / 1.219 GB, free: 7.371 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/1.23, allocations: 0.5421 MB / 1.219 GB, free: 7.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.23, allocations: 10.44 kB / 1.219 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/1.23, allocations: 18.64 kB / 1.219 GB, free: 6.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/1.23, allocations: 20.59 kB / 1.219 GB, free: 6.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/1.231, allocations: 450.4 kB / 1.22 GB, free: 6.77 MB / 0.92 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.002784/1.234, allocations: 2.117 MB / 1.222 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/1.235, allocations: 406 kB / 1.222 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/1.236, allocations: 225.1 kB / 1.222 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000843/1.237, allocations: 402.2 kB / 1.223 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000616/1.237, allocations: 299.9 kB / 1.223 GB, free: 3.969 MB / 0.92 GB Notification: Performance of pre-optimization done (n=37): time 2.204e-06/1.237, allocations: 0 / 1.223 GB, free: 3.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=37): time 0.00176/1.239, allocations: 0.6852 MB / 1.224 GB, free: 3.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/1.239, allocations: 59.39 kB / 1.224 GB, free: 3.207 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/1.24, allocations: 0.4903 MB / 1.224 GB, free: 2.707 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/1.24, allocations: 33.7 kB / 1.224 GB, free: 2.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.24, allocations: 260 kB / 1.225 GB, free: 2.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/1.24, allocations: 122.3 kB / 1.225 GB, free: 2.289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.24, allocations: 94.02 kB / 1.225 GB, free: 2.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002045/1.24, allocations: 366.8 kB / 1.225 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/1.241, allocations: 196.8 kB / 1.225 GB, free: 1.633 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/1.242, allocations: 312 kB / 1.226 GB, free: 1.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.243, allocations: 0.5424 MB / 1.226 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.243, allocations: 7.938 kB / 1.226 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001343/1.244, allocations: 0.6518 MB / 1.227 GB, free: 20 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/1.244, allocations: 59.41 kB / 1.227 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.244, allocations: 0 / 1.227 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.244, allocations: 12.36 kB / 1.227 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/1.245, allocations: 95.83 kB / 1.227 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/1.245, allocations: 11.98 kB / 1.227 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/1.245, allocations: 75.47 kB / 1.227 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/1.245, allocations: 21.56 kB / 1.227 GB, free: 15.74 MB / 0.9356 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.0002718/1.245, allocations: 194.4 kB / 1.227 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/1.246, allocations: 59.28 kB / 1.227 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/1.247, allocations: 0.5329 MB / 1.228 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.247, allocations: 4 kB / 1.228 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.247, allocations: 0 / 1.228 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.247, allocations: 3.984 kB / 1.228 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/1.249, allocations: 1.346 MB / 1.229 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.249, allocations: 12.09 kB / 1.229 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/1.25, allocations: 79.81 kB / 1.229 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/1.25, allocations: 4 kB / 1.229 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/1.25, allocations: 19.94 kB / 1.229 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/1.25, allocations: 7.938 kB / 1.229 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.25, allocations: 4 kB / 1.229 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.251, allocations: 0.9404 MB / 1.23 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/1.252, allocations: 172.3 kB / 1.23 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.252, allocations: 15.98 kB / 1.23 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/1.252, allocations: 27.97 kB / 1.23 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.252, allocations: 59.88 kB / 1.23 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/1.252, allocations: 12 kB / 1.23 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000427/1.253, allocations: 346.8 kB / 1.231 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/1.253, allocations: 0 / 1.231 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006214/1.253, allocations: 155.8 kB / 1.231 GB, free: 11.57 MB / 0.9356 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.0005505/1.254, allocations: 189.9 kB / 1.231 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001209/1.255, allocations: 0.5923 MB / 1.232 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.255, allocations: 4.188 kB / 1.232 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006854/1.256, allocations: 284.2 kB / 1.232 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.257, allocations: 292.7 kB / 1.232 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/1.259, allocations: 1.033 MB / 1.233 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/1.26, allocations: 0.8704 MB / 1.234 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004509/1.26, allocations: 128.7 kB / 1.234 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/1.26, allocations: 47.42 kB / 1.234 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.26, allocations: 0 / 1.234 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of Templates: time 0.01975/1.28, allocations: 10.77 MB / 1.245 GB, free: 13.42 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches