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.001881/0.001881, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002179/0.002179, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.607/1.607, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.778/2.778, allocations: 443.4 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.002243/0.002243, allocations: 71.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3663, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 1.032/1.398, allocations: 182.7 MB / 1.395 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008686/1.407, allocations: 4.479 MB / 1.399 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/1.408, allocations: 19.78 kB / 1.399 GB, free: 11.26 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/1.409, allocations: 261.7 kB / 1.399 GB, free: 11.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002915/1.412, allocations: 0.7909 MB / 1.4 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/1.416, allocations: 1.559 MB / 1.401 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002272/1.419, allocations: 1.258 MB / 1.403 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006416/1.419, allocations: 370.8 kB / 1.403 GB, free: 8.297 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/1.42, allocations: 0.5892 MB / 1.404 GB, free: 7.957 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/1.421, allocations: 431.1 kB / 1.404 GB, free: 7.695 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/1.421, allocations: 46.66 kB / 1.404 GB, free: 7.695 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/1.424, allocations: 1.648 MB / 1.406 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/1.425, allocations: 191.4 kB / 1.406 GB, free: 6.602 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003489/1.425, allocations: 308.3 kB / 1.406 GB, free: 6.406 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/1.427, allocations: 1.298 MB / 1.407 GB, free: 5.633 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.427, allocations: 0 / 1.407 GB, free: 5.633 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.022e-06/1.427, allocations: 0 / 1.407 GB, free: 5.633 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.427, allocations: 0 / 1.407 GB, free: 5.633 MB / 1.076 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.001968/1.429, allocations: 1.049 MB / 1.408 GB, free: 4.754 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.429, allocations: 9.719 kB / 1.408 GB, free: 4.754 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/1.431, allocations: 287.3 kB / 1.409 GB, free: 4.625 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/1.432, allocations: 469 kB / 1.409 GB, free: 4.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/1.432, allocations: 39.66 kB / 1.409 GB, free: 4.211 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/1.432, allocations: 47.19 kB / 1.409 GB, free: 4.195 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.433, allocations: 0.5461 MB / 1.41 GB, free: 3.832 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/1.433, allocations: 3.984 kB / 1.41 GB, free: 3.828 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/1.434, allocations: 21.64 kB / 1.41 GB, free: 3.812 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.434, allocations: 14.47 kB / 1.41 GB, free: 3.809 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/1.435, allocations: 459.8 kB / 1.41 GB, free: 3.594 MB / 1.076 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.002716/1.437, allocations: 2.118 MB / 1.412 GB, free: 1.746 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/1.438, allocations: 395 kB / 1.413 GB, free: 1.543 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/1.439, allocations: 207.6 kB / 1.413 GB, free: 1.445 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/1.439, allocations: 403.7 kB / 1.413 GB, free: 1.031 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006386/1.44, allocations: 289.9 kB / 1.414 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/1.44, allocations: 0 / 1.414 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.001901/1.442, allocations: 0.691 MB / 1.414 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/1.442, allocations: 60.94 kB / 1.414 GB, free: 460 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/1.443, allocations: 494.7 kB / 1.415 GB, free: 156 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/1.443, allocations: 38.61 kB / 1.415 GB, free: 116 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/1.443, allocations: 264.3 kB / 1.415 GB, free: 15.88 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/1.443, allocations: 130.3 kB / 1.415 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/1.443, allocations: 94.52 kB / 1.415 GB, free: 15.71 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002084/1.444, allocations: 367.4 kB / 1.416 GB, free: 15.35 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/1.444, allocations: 193.1 kB / 1.416 GB, free: 15.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/1.445, allocations: 313.6 kB / 1.416 GB, free: 15.05 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.446, allocations: 0.5417 MB / 1.417 GB, free: 14.67 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.446, allocations: 0 / 1.417 GB, free: 14.67 MB / 1.092 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001358/1.447, allocations: 0.6566 MB / 1.417 GB, free: 14.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/1.447, allocations: 64.88 kB / 1.417 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/1.447, allocations: 2.5 kB / 1.417 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.447, allocations: 11.28 kB / 1.417 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/1.448, allocations: 97.55 kB / 1.417 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.448, allocations: 8.969 kB / 1.417 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/1.448, allocations: 78.95 kB / 1.418 GB, free: 14.15 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/1.448, allocations: 23.73 kB / 1.418 GB, free: 14.14 MB / 1.092 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.0003342/1.449, allocations: 193 kB / 1.418 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/1.449, allocations: 56.95 kB / 1.418 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/1.45, allocations: 0.5378 MB / 1.418 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.45, allocations: 5.156 kB / 1.418 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.45, allocations: 0 / 1.418 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.45, allocations: 4.688 kB / 1.418 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/1.452, allocations: 1.353 MB / 1.42 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.452, allocations: 5.188 kB / 1.42 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/1.453, allocations: 73.05 kB / 1.42 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/1.453, allocations: 5.281 kB / 1.42 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/1.453, allocations: 16.11 kB / 1.42 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/1.453, allocations: 4.594 kB / 1.42 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.453, allocations: 8.797 kB / 1.42 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.455, allocations: 0.9381 MB / 1.421 GB, free: 12.01 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/1.455, allocations: 179 kB / 1.421 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/1.455, allocations: 13.19 kB / 1.421 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/1.455, allocations: 36.7 kB / 1.421 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.456, allocations: 52.11 kB / 1.421 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/1.456, allocations: 18.42 kB / 1.421 GB, free: 11.78 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004391/1.456, allocations: 345.5 kB / 1.421 GB, free: 11.58 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.456, allocations: 0 / 1.421 GB, free: 11.58 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005984/1.457, allocations: 146.6 kB / 1.421 GB, free: 11.56 MB / 1.092 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.0005347/1.457, allocations: 213 kB / 1.422 GB, free: 11.41 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001235/1.458, allocations: 0.5705 MB / 1.422 GB, free: 11.07 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.458, allocations: 3.938 kB / 1.422 GB, free: 11.07 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006579/1.459, allocations: 287 kB / 1.422 GB, free: 10.94 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/1.46, allocations: 271.9 kB / 1.423 GB, free: 10.81 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.463, allocations: 1.062 MB / 1.424 GB, free: 10.04 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/1.463, allocations: 0.866 MB / 1.425 GB, free: 9.262 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004347/1.464, allocations: 128.9 kB / 1.425 GB, free: 9.203 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/1.464, allocations: 44.28 kB / 1.425 GB, free: 9.195 MB / 1.092 GB Notification: Performance of SimCode: time 7.71e-07/1.464, allocations: 3.938 kB / 1.425 GB, free: 9.191 MB / 1.092 GB Notification: Performance of Templates: time 0.0212/1.485, allocations: 11.05 MB / 1.436 GB, free: 14.38 MB / 1.107 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: 10.168711453676224]