Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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.0008036/0.0008036, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007939/0.0007939, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8931/0.8931, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714/1.714, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.243e-05/3.387e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01566/0.0157, allocations: 21.45 MB / 0.9727 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.005727/0.02142, allocations: 4.748 MB / 0.9773 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.02214, allocations: 35.69 kB / 0.9774 GB, free: 8.656 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.02285, allocations: 293.9 kB / 0.9776 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.0247, allocations: 0.8467 MB / 0.9785 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.02625, allocations: 0.824 MB / 0.9793 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.02801, allocations: 1.651 MB / 0.9809 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.02852, allocations: 390.1 kB / 0.9813 GB, free: 4.652 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.02991, allocations: 0.8314 MB / 0.9821 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.03035, allocations: 406.7 kB / 0.9825 GB, free: 3.422 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.0304, allocations: 44 kB / 0.9825 GB, free: 3.379 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008016/0.03121, allocations: 426.9 kB / 0.9829 GB, free: 2.961 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.03133, allocations: 155.3 kB / 0.9831 GB, free: 2.809 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.03152, allocations: 215.5 kB / 0.9833 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.03267, allocations: 0.9426 MB / 0.9842 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.03268, allocations: 3.938 kB / 0.9842 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.863e-06/0.03268, allocations: 4 kB / 0.9842 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.03269, allocations: 0 / 0.9842 GB, free: 1.645 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001121/0.03381, allocations: 0.8237 MB / 0.985 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.03386, allocations: 11.97 kB / 0.985 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.03406, allocations: 68.56 kB / 0.9851 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.03487, allocations: 0.5146 MB / 0.9856 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.03489, allocations: 29.38 kB / 0.9856 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.03494, allocations: 40.38 kB / 0.9856 GB, free: 104 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.03547, allocations: 0.5056 MB / 0.9861 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.03549, allocations: 0 / 0.9861 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.03552, allocations: 16 kB / 0.9861 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.03554, allocations: 8 kB / 0.9862 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.03588, allocations: 307.8 kB / 0.9864 GB, free: 15.23 MB / 0.948 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.00164/0.03752, allocations: 1.443 MB / 0.9879 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.03792, allocations: 246.7 kB / 0.9881 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.03803, allocations: 112.8 kB / 0.9882 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.0383, allocations: 107.8 kB / 0.9883 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.03832, allocations: 34.56 kB / 0.9883 GB, free: 13.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/0.03832, allocations: 0 / 0.9883 GB, free: 13.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.0005769/0.0389, allocations: 371.1 kB / 0.9887 GB, free: 12.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.03893, allocations: 59.41 kB / 0.9887 GB, free: 12.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.03923, allocations: 401.9 kB / 0.9891 GB, free: 12.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.03926, allocations: 33.7 kB / 0.9892 GB, free: 12.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.0394, allocations: 268.5 kB / 0.9894 GB, free: 12.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.03945, allocations: 99.23 kB / 0.9895 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.03953, allocations: 69.98 kB / 0.9896 GB, free: 11.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.03962, allocations: 358.7 kB / 0.9899 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.03972, allocations: 92.61 kB / 0.99 GB, free: 11.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.03989, allocations: 253.1 kB / 0.9902 GB, free: 11.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.04015, allocations: 288 kB / 0.9905 GB, free: 10.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.04016, allocations: 3.938 kB / 0.9905 GB, free: 10.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003597/0.04052, allocations: 357.3 kB / 0.9909 GB, free: 10.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.04053, allocations: 10.34 kB / 0.9909 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.04054, allocations: 4 kB / 0.9909 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.04055, allocations: 0 / 0.9909 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.04071, allocations: 75.91 kB / 0.991 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.04072, allocations: 3.984 kB / 0.991 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.04084, allocations: 27.78 kB / 0.991 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.04087, allocations: 16 kB / 0.991 GB, free: 10.38 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001431/0.04101, allocations: 185.6 kB / 0.9912 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.04106, allocations: 47.72 kB / 0.9912 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.04161, allocations: 482.5 kB / 0.9917 GB, free: 9.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.04162, allocations: 4 kB / 0.9917 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.04163, allocations: 0 / 0.9917 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005484/0.04218, allocations: 0.5762 MB / 0.9922 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.04323, allocations: 0.9562 MB / 0.9932 GB, free: 8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.04323, allocations: 0 / 0.9932 GB, free: 8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.04336, allocations: 55.91 kB / 0.9932 GB, free: 7.945 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.04337, allocations: 4 kB / 0.9932 GB, free: 7.941 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.04339, allocations: 11.94 kB / 0.9933 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.04339, allocations: 4 kB / 0.9933 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.04339, allocations: 15.92 kB / 0.9933 GB, free: 7.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.04399, allocations: 0.6644 MB / 0.9939 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.04411, allocations: 91.59 kB / 0.994 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.04415, allocations: 11.94 kB / 0.994 GB, free: 7.109 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.04428, allocations: 11.98 kB / 0.994 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.04431, allocations: 23.89 kB / 0.9941 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.04433, allocations: 16 kB / 0.9941 GB, free: 7.059 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001958/0.04453, allocations: 279.1 kB / 0.9943 GB, free: 6.789 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.04453, allocations: 0 / 0.9943 GB, free: 6.789 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004731/0.045, allocations: 211.5 kB / 0.9945 GB, free: 6.582 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.0004013/0.0454, allocations: 286.7 kB / 0.9948 GB, free: 6.293 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.04574, allocations: 291.4 kB / 0.9951 GB, free: 6.008 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.04574, allocations: 0 / 0.9951 GB, free: 6.008 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.04589, allocations: 157.4 kB / 0.9952 GB, free: 5.855 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.04664, allocations: 264.1 kB / 0.9955 GB, free: 5.602 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.04784, allocations: 1.009 MB / 0.9965 GB, free: 4.539 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.04802, allocations: 262.2 kB / 0.9967 GB, free: 4.262 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.04811, allocations: 56.47 kB / 0.9968 GB, free: 4.207 MB / 0.948 GB Notification: Performance of SimCode: time 8.01e-07/0.04811, allocations: 0 / 0.9968 GB, free: 4.207 MB / 0.948 GB Notification: Performance of Templates: time 0.009215/0.05733, allocations: 9.258 MB / 1.006 GB, free: 11.02 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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: 7.6367923598736525]