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.001943/0.001943, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002129/0.002129, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.481/1.481, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002046/0.002046, allocations: 67.89 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9665/0.9685, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2363/1.205, allocations: 182.7 MB / 1.397 GB, free: 15.87 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006912/1.212, allocations: 4.503 MB / 1.401 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/1.212, allocations: 27.75 kB / 1.401 GB, free: 11.34 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007578/1.213, allocations: 254.1 kB / 1.402 GB, free: 11.09 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/1.215, allocations: 0.8009 MB / 1.402 GB, free: 10.28 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/1.219, allocations: 1.595 MB / 1.404 GB, free: 8.684 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002093/1.221, allocations: 1.285 MB / 1.405 GB, free: 7.395 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/1.222, allocations: 369.8 kB / 1.406 GB, free: 7.027 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/1.224, allocations: 0.5916 MB / 1.406 GB, free: 6.434 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/1.224, allocations: 434.2 kB / 1.407 GB, free: 6.008 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/1.224, allocations: 52 kB / 1.407 GB, free: 5.957 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/1.228, allocations: 1.687 MB / 1.408 GB, free: 4.266 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/1.228, allocations: 179.5 kB / 1.408 GB, free: 4.09 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004677/1.229, allocations: 306.5 kB / 1.409 GB, free: 3.789 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/1.232, allocations: 1.315 MB / 1.41 GB, free: 2.473 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.232, allocations: 3.938 kB / 1.41 GB, free: 2.469 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.794e-06/1.232, allocations: 0 / 1.41 GB, free: 2.469 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.232, allocations: 0 / 1.41 GB, free: 2.469 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.002146/1.234, allocations: 1.044 MB / 1.411 GB, free: 1.363 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.234, allocations: 8.031 kB / 1.411 GB, free: 1.355 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/1.236, allocations: 287.3 kB / 1.411 GB, free: 1.074 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/1.237, allocations: 473.8 kB / 1.412 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/1.237, allocations: 33 kB / 1.412 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/1.237, allocations: 44 kB / 1.412 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.238, allocations: 0.5507 MB / 1.412 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.238, allocations: 3.984 kB / 1.412 GB, free: 15.9 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/1.238, allocations: 16 kB / 1.412 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/1.238, allocations: 15.94 kB / 1.412 GB, free: 15.87 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/1.24, allocations: 455.5 kB / 1.413 GB, free: 15.43 MB / 1.123 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.004253/1.244, allocations: 2.116 MB / 1.415 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.245, allocations: 390.4 kB / 1.415 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/1.246, allocations: 220.6 kB / 1.415 GB, free: 12.57 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008121/1.246, allocations: 400.3 kB / 1.416 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/1.247, allocations: 298.8 kB / 1.416 GB, free: 11.8 MB / 1.123 GB Notification: Performance of pre-optimization done (n=37): time 3.637e-06/1.247, allocations: 0 / 1.416 GB, free: 11.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=37): time 0.001921/1.249, allocations: 0.6872 MB / 1.417 GB, free: 11.11 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.249, allocations: 55.41 kB / 1.417 GB, free: 11.04 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006965/1.25, allocations: 0.4902 MB / 1.417 GB, free: 10.54 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/1.25, allocations: 37.7 kB / 1.417 GB, free: 10.5 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/1.25, allocations: 260.5 kB / 1.418 GB, free: 10.24 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/1.25, allocations: 126.9 kB / 1.418 GB, free: 10.11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.25, allocations: 94.08 kB / 1.418 GB, free: 10.02 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002338/1.251, allocations: 366.8 kB / 1.418 GB, free: 9.648 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/1.251, allocations: 200.8 kB / 1.418 GB, free: 9.453 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/1.252, allocations: 315.7 kB / 1.419 GB, free: 9.102 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.253, allocations: 0.5417 MB / 1.419 GB, free: 8.508 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.253, allocations: 0 / 1.419 GB, free: 8.508 MB / 1.123 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001456/1.254, allocations: 0.6485 MB / 1.42 GB, free: 7.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/1.254, allocations: 63.39 kB / 1.42 GB, free: 7.766 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.255, allocations: 4 kB / 1.42 GB, free: 7.762 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/1.255, allocations: 8.359 kB / 1.42 GB, free: 7.754 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/1.255, allocations: 103.8 kB / 1.42 GB, free: 7.652 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/1.255, allocations: 4 kB / 1.42 GB, free: 7.648 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/1.256, allocations: 75.58 kB / 1.42 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/1.256, allocations: 27.94 kB / 1.42 GB, free: 7.547 MB / 1.123 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.0003583/1.256, allocations: 199.3 kB / 1.42 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/1.256, allocations: 63.66 kB / 1.42 GB, free: 7.285 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/1.257, allocations: 0.5331 MB / 1.421 GB, free: 6.746 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.257, allocations: 4 kB / 1.421 GB, free: 6.742 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.257, allocations: 3.984 kB / 1.421 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.257, allocations: 3.938 kB / 1.421 GB, free: 6.734 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/1.26, allocations: 1.353 MB / 1.422 GB, free: 5.281 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.26, allocations: 11.88 kB / 1.422 GB, free: 5.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/1.26, allocations: 71.89 kB / 1.422 GB, free: 5.199 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.26, allocations: 4.062 kB / 1.422 GB, free: 5.195 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/1.26, allocations: 16 kB / 1.422 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/1.26, allocations: 7.984 kB / 1.422 GB, free: 5.172 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.26, allocations: 4 kB / 1.422 GB, free: 5.168 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/1.262, allocations: 0.9369 MB / 1.423 GB, free: 4.168 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/1.262, allocations: 180.5 kB / 1.423 GB, free: 3.973 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/1.262, allocations: 12 kB / 1.423 GB, free: 3.961 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/1.263, allocations: 35.95 kB / 1.423 GB, free: 3.926 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.263, allocations: 47.94 kB / 1.423 GB, free: 3.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/1.263, allocations: 16 kB / 1.423 GB, free: 3.863 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004959/1.264, allocations: 350.8 kB / 1.424 GB, free: 3.523 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.264, allocations: 3.938 kB / 1.424 GB, free: 3.52 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000679/1.264, allocations: 143.9 kB / 1.424 GB, free: 3.379 MB / 1.123 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.0005047/1.265, allocations: 196.7 kB / 1.424 GB, free: 3.184 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001283/1.266, allocations: 0.5653 MB / 1.425 GB, free: 2.594 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.266, allocations: 8.25 kB / 1.425 GB, free: 2.586 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006833/1.267, allocations: 284.8 kB / 1.425 GB, free: 2.309 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.268, allocations: 284.5 kB / 1.425 GB, free: 2.039 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/1.27, allocations: 1.042 MB / 1.426 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/1.271, allocations: 0.8704 MB / 1.427 GB, free: 24 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005018/1.271, allocations: 128.7 kB / 1.427 GB, free: 15.9 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/1.271, allocations: 43.44 kB / 1.427 GB, free: 15.86 MB / 1.139 GB Notification: Performance of SimCode: time 9.01e-07/1.271, allocations: 0 / 1.427 GB, free: 15.86 MB / 1.139 GB Notification: Performance of Templates: time 0.02292/1.294, allocations: 11.16 MB / 1.438 GB, free: 4.867 MB / 1.139 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.969579462893307]