Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001458/0.001458, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001723/0.001723, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.506/1.506, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.891/2.891, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.56e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2482/0.2482, allocations: 160.5 MB / 0.9676 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.008652/0.2569, allocations: 4.167 MB / 0.9717 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009751/0.2579, allocations: 27.75 kB / 0.9717 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.259, allocations: 254 kB / 0.9719 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.2617, allocations: 0.7885 MB / 0.9727 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004876/0.2665, allocations: 1.599 MB / 0.9743 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002197/0.2687, allocations: 1.261 MB / 0.9755 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2698, allocations: 374.1 kB / 0.9759 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.2727, allocations: 0.9852 MB / 0.9768 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.2735, allocations: 354.9 kB / 0.9772 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.2736, allocations: 44 kB / 0.9772 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.2765, allocations: 1.273 MB / 0.9784 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.2768, allocations: 195.3 kB / 0.9786 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.2774, allocations: 215.5 kB / 0.9788 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.2804, allocations: 1.328 MB / 0.9801 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2804, allocations: 3.938 kB / 0.9801 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2804, allocations: 0 / 0.9801 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.103e-05/0.2805, allocations: 0 / 0.9801 GB, free: 3.004 MB / 0.8855 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.002472/0.2829, allocations: 0.9565 MB / 0.9811 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.283, allocations: 12.03 kB / 0.9811 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.2854, allocations: 386.4 kB / 0.9815 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2865, allocations: 430.6 kB / 0.9819 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.2865, allocations: 32.98 kB / 0.9819 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2866, allocations: 48 kB / 0.9819 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.2879, allocations: 0.5429 MB / 0.9825 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2879, allocations: 3.938 kB / 0.9825 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.2879, allocations: 20 kB / 0.9825 GB, free: 500 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.2879, allocations: 8 kB / 0.9825 GB, free: 492 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2892, allocations: 459.5 kB / 0.9829 GB, free: 28 kB / 0.8855 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.003059/0.2923, allocations: 1.71 MB / 0.9846 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.2934, allocations: 386.5 kB / 0.985 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.294, allocations: 208.7 kB / 0.9852 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/0.2946, allocations: 99.91 kB / 0.9853 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008643/0.2955, allocations: 292.6 kB / 0.9855 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 2.555e-06/0.2955, allocations: 0 / 0.9855 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.002144/0.2976, allocations: 0.7071 MB / 0.9862 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.2977, allocations: 55.41 kB / 0.9863 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.2982, allocations: 389.8 kB / 0.9867 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.2983, allocations: 29.7 kB / 0.9867 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.2985, allocations: 284.4 kB / 0.987 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.2987, allocations: 126.9 kB / 0.9871 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.2989, allocations: 94.14 kB / 0.9872 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.2991, allocations: 350.8 kB / 0.9875 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.2997, allocations: 256.2 kB / 0.9878 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008191/0.3005, allocations: 499.9 kB / 0.9882 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.3018, allocations: 0.5418 MB / 0.9888 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.3018, allocations: 3.938 kB / 0.9888 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001665/0.3034, allocations: 0.7261 MB / 0.9895 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.3035, allocations: 63.41 kB / 0.9895 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3035, allocations: 7.938 kB / 0.9895 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.3035, allocations: 4 kB / 0.9895 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.3041, allocations: 91.88 kB / 0.9896 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.3041, allocations: 11.92 kB / 0.9896 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.3047, allocations: 71.88 kB / 0.9897 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.3047, allocations: 20 kB / 0.9897 GB, free: 8.746 MB / 0.9011 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.0003331/0.3051, allocations: 195.8 kB / 0.9899 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3052, allocations: 55.72 kB / 0.99 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.3067, allocations: 0.5324 MB / 0.9905 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3067, allocations: 7.984 kB / 0.9905 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3067, allocations: 0 / 0.9905 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3067, allocations: 3.984 kB / 0.9905 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.3094, allocations: 1.221 MB / 0.9917 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.3094, allocations: 4 kB / 0.9917 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.3098, allocations: 76.33 kB / 0.9918 GB, free: 6.559 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.3098, allocations: 8 kB / 0.9918 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.3099, allocations: 15.98 kB / 0.9918 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3099, allocations: 4 kB / 0.9918 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3099, allocations: 11.88 kB / 0.9918 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.312, allocations: 0.9352 MB / 0.9927 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.3123, allocations: 87.55 kB / 0.9928 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.3124, allocations: 16 kB / 0.9928 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.3128, allocations: 35.95 kB / 0.9929 GB, free: 5.387 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.313, allocations: 47.81 kB / 0.9929 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.313, allocations: 24.05 kB / 0.9929 GB, free: 5.316 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003763/0.3134, allocations: 259.2 kB / 0.9932 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.3134, allocations: 0 / 0.9932 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007106/0.3141, allocations: 163.8 kB / 0.9933 GB, free: 4.91 MB / 0.9011 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.0004391/0.3146, allocations: 183 kB / 0.9935 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.3161, allocations: 0.6409 MB / 0.9941 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3161, allocations: 0 / 0.9941 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.3168, allocations: 269.2 kB / 0.9944 GB, free: 3.785 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3181, allocations: 211.5 kB / 0.9946 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.3204, allocations: 0.9921 MB / 0.9956 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3207, allocations: 274 kB / 0.9958 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004742/0.3212, allocations: 108.1 kB / 0.9959 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3214, allocations: 48.5 kB / 0.996 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of SimCode: time 7.41e-07/0.3214, allocations: 0 / 0.996 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of Templates: time 0.02034/0.3417, allocations: 9.3 MB / 1.005 GB, free: 9.016 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.60787771991454]