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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 437.1 MB / 0.7178 GB, free: 4.453 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 75.88 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 151.6 MB / 1.176 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8683/1.193, allocations: 181.8 MB / 1.353 GB, free: 8.648 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006786/1.2, allocations: 4.453 MB / 1.358 GB, free: 5.477 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/1.201, allocations: 23.78 kB / 1.358 GB, free: 5.465 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007428/1.202, allocations: 247 kB / 1.358 GB, free: 5.297 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/1.204, allocations: 0.7597 MB / 1.359 GB, free: 4.875 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/1.208, allocations: 1.517 MB / 1.36 GB, free: 4.129 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001727/1.21, allocations: 1.257 MB / 1.361 GB, free: 3.559 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006702/1.21, allocations: 455.5 kB / 1.362 GB, free: 3.363 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/1.211, allocations: 0.5714 MB / 1.362 GB, free: 3.117 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/1.212, allocations: 406.9 kB / 1.363 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/1.212, allocations: 44.94 kB / 1.363 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/1.215, allocations: 1.545 MB / 1.364 GB, free: 2.312 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/1.215, allocations: 186.9 kB / 1.365 GB, free: 2.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/1.215, allocations: 303.7 kB / 1.365 GB, free: 2.059 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/1.218, allocations: 1.313 MB / 1.366 GB, free: 1.617 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.218, allocations: 0 / 1.366 GB, free: 1.617 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/1.218, allocations: 0 / 1.366 GB, free: 1.617 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.218, allocations: 0 / 1.366 GB, free: 1.617 MB / 1.029 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.001954/1.22, allocations: 1.039 MB / 1.367 GB, free: 0.832 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.22, allocations: 12.62 kB / 1.367 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/1.222, allocations: 286 kB / 1.367 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/1.223, allocations: 468.9 kB / 1.368 GB, free: 456 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.223, allocations: 36.86 kB / 1.368 GB, free: 440 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/1.223, allocations: 47.69 kB / 1.368 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.224, allocations: 0.55 MB / 1.368 GB, free: 156 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/1.224, allocations: 1.188 kB / 1.368 GB, free: 156 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/1.224, allocations: 16.34 kB / 1.368 GB, free: 144 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/1.224, allocations: 17.59 kB / 1.369 GB, free: 136 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.225, allocations: 460.8 kB / 1.369 GB, free: 0 / 1.029 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.002806/1.228, allocations: 2.12 MB / 1.371 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.229, allocations: 404.7 kB / 1.371 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/1.229, allocations: 230.6 kB / 1.372 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/1.23, allocations: 402.5 kB / 1.372 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006813/1.231, allocations: 297.1 kB / 1.372 GB, free: 13.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/1.231, allocations: 1.531 kB / 1.372 GB, free: 13.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001963/1.233, allocations: 0.69 MB / 1.373 GB, free: 13.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.233, allocations: 60.38 kB / 1.373 GB, free: 13.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/1.234, allocations: 499.2 kB / 1.374 GB, free: 12.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/1.234, allocations: 41.64 kB / 1.374 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/1.234, allocations: 260.4 kB / 1.374 GB, free: 12.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/1.234, allocations: 127.4 kB / 1.374 GB, free: 12.55 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.234, allocations: 92.88 kB / 1.374 GB, free: 12.49 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.234, allocations: 364.2 kB / 1.374 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/1.235, allocations: 195.8 kB / 1.375 GB, free: 12.05 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/1.236, allocations: 314.2 kB / 1.375 GB, free: 11.83 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.237, allocations: 0.5479 MB / 1.375 GB, free: 11.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.237, allocations: 0 / 1.375 GB, free: 11.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001466/1.238, allocations: 0.6526 MB / 1.376 GB, free: 11.08 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/1.238, allocations: 62.83 kB / 1.376 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.238, allocations: 2.281 kB / 1.376 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/1.238, allocations: 6.438 kB / 1.376 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/1.239, allocations: 97.81 kB / 1.376 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.239, allocations: 6.312 kB / 1.376 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/1.239, allocations: 89.77 kB / 1.376 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/1.239, allocations: 20.5 kB / 1.376 GB, free: 10.93 MB / 1.045 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.0002558/1.24, allocations: 193.7 kB / 1.376 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/1.24, allocations: 56.61 kB / 1.377 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/1.241, allocations: 0.5411 MB / 1.377 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.241, allocations: 4.312 kB / 1.377 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.241, allocations: 0 / 1.377 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.241, allocations: 3.984 kB / 1.377 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/1.244, allocations: 1.349 MB / 1.378 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.244, allocations: 4.125 kB / 1.378 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/1.244, allocations: 81.38 kB / 1.378 GB, free: 9.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/1.244, allocations: 5.938 kB / 1.378 GB, free: 9.418 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/1.244, allocations: 14.88 kB / 1.378 GB, free: 9.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.244, allocations: 5.5 kB / 1.378 GB, free: 9.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.244, allocations: 2.75 kB / 1.378 GB, free: 9.41 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/1.246, allocations: 0.94 MB / 1.379 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/1.246, allocations: 176.1 kB / 1.38 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/1.246, allocations: 22.98 kB / 1.38 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/1.247, allocations: 30.16 kB / 1.38 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.247, allocations: 47.03 kB / 1.38 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/1.247, allocations: 17.84 kB / 1.38 GB, free: 8.566 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004568/1.248, allocations: 349.7 kB / 1.38 GB, free: 8.359 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.084e-06/1.248, allocations: 0 / 1.38 GB, free: 8.359 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006179/1.248, allocations: 154.6 kB / 1.38 GB, free: 8.332 MB / 1.045 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.0005028/1.249, allocations: 205.1 kB / 1.38 GB, free: 8.188 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001289/1.25, allocations: 0.5839 MB / 1.381 GB, free: 7.844 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.25, allocations: 0 / 1.381 GB, free: 7.844 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006346/1.251, allocations: 274 kB / 1.381 GB, free: 7.719 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.252, allocations: 289.3 kB / 1.381 GB, free: 7.574 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/1.254, allocations: 1.072 MB / 1.383 GB, free: 6.789 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/1.254, allocations: 0.8618 MB / 1.383 GB, free: 6.008 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/1.255, allocations: 55.92 kB / 1.383 GB, free: 5.992 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/1.255, allocations: 0 / 1.383 GB, free: 5.992 MB / 1.045 GB Notification: Performance of Templates: time 0.01337/1.268, allocations: 9.07 MB / 1.392 GB, free: 1.32 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.233085084939376]