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.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.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.006697/0.006697, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001423/0.001423, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.272/2.272, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8255, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2238/1.049, allocations: 181.8 MB / 1.265 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006518/1.056, allocations: 4.458 MB / 1.27 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005742/1.057, allocations: 23.81 kB / 1.27 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007132/1.057, allocations: 238.1 kB / 1.27 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/1.059, allocations: 0.7932 MB / 1.271 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/1.063, allocations: 1.55 MB / 1.272 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001508/1.064, allocations: 1.263 MB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/1.065, allocations: 445.3 kB / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009523/1.066, allocations: 0.5838 MB / 1.275 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/1.066, allocations: 418.3 kB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/1.066, allocations: 44 kB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/1.069, allocations: 1.559 MB / 1.277 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/1.069, allocations: 183.4 kB / 1.277 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/1.07, allocations: 302.5 kB / 1.277 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/1.071, allocations: 1.313 MB / 1.278 GB, free: 10.72 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.071, allocations: 3.938 kB / 1.278 GB, free: 10.72 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/1.071, allocations: 0 / 1.278 GB, free: 10.72 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.473e-05/1.071, allocations: 0 / 1.278 GB, free: 10.72 MB / 1.014 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.001799/1.073, allocations: 1.04 MB / 1.279 GB, free: 9.617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.073, allocations: 12.02 kB / 1.279 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/1.075, allocations: 291.2 kB / 1.28 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/1.076, allocations: 465.9 kB / 1.28 GB, free: 8.824 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/1.076, allocations: 40.92 kB / 1.28 GB, free: 8.785 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/1.076, allocations: 43.95 kB / 1.28 GB, free: 8.742 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.077, allocations: 0.5507 MB / 1.281 GB, free: 8.152 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.078, allocations: 0 / 1.281 GB, free: 8.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/1.078, allocations: 16 kB / 1.281 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/1.078, allocations: 15.94 kB / 1.281 GB, free: 8.121 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/1.079, allocations: 459.5 kB / 1.281 GB, free: 7.676 MB / 1.014 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.002539/1.081, allocations: 2.12 MB / 1.283 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/1.082, allocations: 406.5 kB / 1.284 GB, free: 5.016 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/1.083, allocations: 228.6 kB / 1.284 GB, free: 4.789 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006693/1.083, allocations: 400.3 kB / 1.284 GB, free: 4.324 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006492/1.084, allocations: 287.7 kB / 1.284 GB, free: 4.031 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/1.084, allocations: 0 / 1.284 GB, free: 4.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001878/1.086, allocations: 0.6916 MB / 1.285 GB, free: 3.332 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.086, allocations: 55.41 kB / 1.285 GB, free: 3.266 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/1.087, allocations: 498.1 kB / 1.286 GB, free: 2.766 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/1.087, allocations: 33.64 kB / 1.286 GB, free: 2.727 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/1.087, allocations: 272.4 kB / 1.286 GB, free: 2.457 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.087, allocations: 130.9 kB / 1.286 GB, free: 2.328 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.087, allocations: 86.12 kB / 1.286 GB, free: 2.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.087, allocations: 362.8 kB / 1.287 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/1.088, allocations: 192.8 kB / 1.287 GB, free: 1.688 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/1.088, allocations: 324.1 kB / 1.287 GB, free: 1.332 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/1.09, allocations: 0.5454 MB / 1.288 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.09, allocations: 0 / 1.288 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001353/1.091, allocations: 0.6521 MB / 1.288 GB, free: 64 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/1.091, allocations: 71.7 kB / 1.288 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/1.091, allocations: 8 kB / 1.288 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.091, allocations: 4 kB / 1.288 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/1.092, allocations: 99.81 kB / 1.288 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.092, allocations: 4 kB / 1.288 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/1.092, allocations: 79.52 kB / 1.288 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/1.092, allocations: 23.94 kB / 1.288 GB, free: 15.77 MB / 1.029 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.0002475/1.092, allocations: 202.8 kB / 1.289 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/1.092, allocations: 55.62 kB / 1.289 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/1.094, allocations: 0.5304 MB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.094, allocations: 4 kB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.094, allocations: 4 kB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.094, allocations: 3.984 kB / 1.289 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/1.096, allocations: 1.354 MB / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.096, allocations: 7.938 kB / 1.291 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/1.097, allocations: 87.8 kB / 1.291 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.097, allocations: 4 kB / 1.291 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/1.097, allocations: 12 kB / 1.291 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.097, allocations: 4 kB / 1.291 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.097, allocations: 4.344 kB / 1.291 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/1.099, allocations: 0.9447 MB / 1.292 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/1.099, allocations: 176.6 kB / 1.292 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.099, allocations: 15.98 kB / 1.292 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/1.1, allocations: 27.97 kB / 1.292 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.1, allocations: 55.94 kB / 1.292 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/1.1, allocations: 12 kB / 1.292 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004511/1.1, allocations: 346.8 kB / 1.292 GB, free: 11.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.593e-06/1.1, allocations: 0 / 1.292 GB, free: 11.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006273/1.101, allocations: 159.8 kB / 1.292 GB, free: 11.58 MB / 1.029 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.0004795/1.101, allocations: 206.5 kB / 1.293 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001274/1.103, allocations: 0.5791 MB / 1.293 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.103, allocations: 0 / 1.293 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007159/1.103, allocations: 292.6 kB / 1.293 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.105, allocations: 289.6 kB / 1.294 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/1.107, allocations: 1.052 MB / 1.295 GB, free: 9.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/1.107, allocations: 0.8665 MB / 1.296 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005141/1.108, allocations: 124.7 kB / 1.296 GB, free: 8.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/1.108, allocations: 47.42 kB / 1.296 GB, free: 8.023 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/1.108, allocations: 0 / 1.296 GB, free: 8.023 MB / 1.029 GB Notification: Performance of Templates: time 0.02047/1.128, allocations: 10.84 MB / 1.306 GB, free: 13.36 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches