Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.864/2.864, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.369e-05/4.609e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2364/0.2364, allocations: 160.5 MB / 0.9432 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.008481/0.2449, allocations: 4.152 MB / 0.9472 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.2458, allocations: 27.75 kB / 0.9472 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009729/0.2468, allocations: 254 kB / 0.9475 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.2493, allocations: 0.7886 MB / 0.9482 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004607/0.2539, allocations: 1.611 MB / 0.9498 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.2559, allocations: 1.265 MB / 0.9511 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008304/0.2568, allocations: 374 kB / 0.9514 GB, free: 3.254 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.2586, allocations: 0.7517 MB / 0.9521 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007414/0.2593, allocations: 358.9 kB / 0.9525 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.2595, allocations: 44 kB / 0.9525 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.2623, allocations: 1.285 MB / 0.9538 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.2626, allocations: 199.3 kB / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.263, allocations: 211.5 kB / 0.9542 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.266, allocations: 1.332 MB / 0.9555 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.266, allocations: 0 / 0.9555 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.643e-06/0.266, allocations: 0 / 0.9555 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.266, allocations: 0 / 0.9555 GB, free: 15.08 MB / 0.9167 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.00258/0.2686, allocations: 0.9643 MB / 0.9564 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2687, allocations: 8.031 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.2711, allocations: 386.5 kB / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.2721, allocations: 434.5 kB / 0.9572 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.2722, allocations: 33 kB / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.2723, allocations: 48 kB / 0.9573 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2736, allocations: 0.5429 MB / 0.9578 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.2736, allocations: 4 kB / 0.9578 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/0.2737, allocations: 20 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.2737, allocations: 8 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.275, allocations: 463.5 kB / 0.9583 GB, free: 12.09 MB / 0.9167 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.003063/0.278, allocations: 1.694 MB / 0.9599 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.2791, allocations: 402.3 kB / 0.9603 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.2797, allocations: 216.7 kB / 0.9605 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.2803, allocations: 91.91 kB / 0.9606 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007039/0.281, allocations: 288.9 kB / 0.9609 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 2.195e-06/0.281, allocations: 8 kB / 0.9609 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.002065/0.2831, allocations: 0.6954 MB / 0.9616 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.2831, allocations: 59.41 kB / 0.9616 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.2837, allocations: 389.8 kB / 0.962 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.2837, allocations: 33.7 kB / 0.962 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.284, allocations: 276.5 kB / 0.9623 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.2841, allocations: 130.9 kB / 0.9624 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.2843, allocations: 94.12 kB / 0.9625 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.2845, allocations: 358.8 kB / 0.9629 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.2851, allocations: 256.2 kB / 0.9631 GB, free: 7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/0.286, allocations: 0.4957 MB / 0.9636 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.2872, allocations: 0.5411 MB / 0.9641 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2872, allocations: 4 kB / 0.9641 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001572/0.2887, allocations: 0.7145 MB / 0.9648 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.2888, allocations: 63.39 kB / 0.9649 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2888, allocations: 7.938 kB / 0.9649 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.2888, allocations: 4 kB / 0.9649 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.2893, allocations: 99.81 kB / 0.965 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2894, allocations: 4 kB / 0.965 GB, free: 4.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.2899, allocations: 67.69 kB / 0.9651 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.29, allocations: 28.02 kB / 0.9651 GB, free: 4.797 MB / 0.9167 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.0002865/0.2902, allocations: 193.6 kB / 0.9653 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.2904, allocations: 63.7 kB / 0.9653 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.2918, allocations: 0.5299 MB / 0.9658 GB, free: 4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.2919, allocations: 8 kB / 0.9659 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2919, allocations: 0 / 0.9659 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2919, allocations: 0 / 0.9659 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.2945, allocations: 1.22 MB / 0.967 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2945, allocations: 4 kB / 0.9671 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.2949, allocations: 79.88 kB / 0.9671 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.2949, allocations: 4.438 kB / 0.9671 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.295, allocations: 16 kB / 0.9671 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.295, allocations: 4 kB / 0.9672 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.295, allocations: 11.88 kB / 0.9672 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.2971, allocations: 0.9424 MB / 0.9681 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.2973, allocations: 83.55 kB / 0.9682 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.2974, allocations: 16 kB / 0.9682 GB, free: 1.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.2979, allocations: 35.95 kB / 0.9682 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.2981, allocations: 51.8 kB / 0.9683 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.2981, allocations: 16 kB / 0.9683 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004228/0.2985, allocations: 263.2 kB / 0.9685 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2985, allocations: 4 kB / 0.9685 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007492/0.2993, allocations: 159.8 kB / 0.9687 GB, free: 0.9492 MB / 0.9167 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.0004466/0.2997, allocations: 187 kB / 0.9689 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.3012, allocations: 0.623 MB / 0.9695 GB, free: 96 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3012, allocations: 3.938 kB / 0.9695 GB, free: 92 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.3019, allocations: 272.7 kB / 0.9697 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.3031, allocations: 222.8 kB / 0.9699 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3052, allocations: 0.9869 MB / 0.9709 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3055, allocations: 270 kB / 0.9712 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004518/0.306, allocations: 104.1 kB / 0.9713 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3061, allocations: 48.48 kB / 0.9713 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of SimCode: time 7.21e-07/0.3061, allocations: 4 kB / 0.9713 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of Templates: time 0.01889/0.325, allocations: 9.297 MB / 0.9804 GB, free: 5.059 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.562392591964453]