Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.001978/0.001978, allocations: 80.45 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002592/0.002592, allocations: 160.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.949/2.949, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9814 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.747e-05, allocations: 6.281 kB / 0.9815 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9106/0.9106, allocations: 149.5 MB / 1.127 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.9208, allocations: 6.539 MB / 1.134 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009571/0.9217, allocations: 20.28 kB / 1.134 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000775/0.9225, allocations: 182.5 kB / 1.134 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.9274, allocations: 1.322 MB / 1.135 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.9299, allocations: 0.7034 MB / 1.136 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.9315, allocations: 0.7499 MB / 1.137 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.932, allocations: 227.9 kB / 1.137 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.9344, allocations: 0.842 MB / 1.138 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.9357, allocations: 415.2 kB / 1.138 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.9358, allocations: 25.28 kB / 1.138 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.939, allocations: 1.056 MB / 1.139 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.9392, allocations: 123.8 kB / 1.139 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.9394, allocations: 126.6 kB / 1.139 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.9419, allocations: 0.9242 MB / 1.14 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9419, allocations: 0 / 1.14 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9419, allocations: 0 / 1.14 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.9419, allocations: 1.438 kB / 1.14 GB, free: 13.46 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001108/0.943, allocations: 0.6257 MB / 1.141 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.943, allocations: 10.03 kB / 1.141 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.9441, allocations: 126.3 kB / 1.141 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.9447, allocations: 289.2 kB / 1.141 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-05/0.9448, allocations: 75.05 kB / 1.141 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.9449, allocations: 25.8 kB / 1.141 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.9456, allocations: 397 kB / 1.142 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.9456, allocations: 3.094 kB / 1.142 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.9456, allocations: 14.83 kB / 1.142 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.9457, allocations: 6.094 kB / 1.142 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.9462, allocations: 269.9 kB / 1.142 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.9481, allocations: 1.066 MB / 1.143 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.9486, allocations: 185.7 kB / 1.143 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.9489, allocations: 116 kB / 1.143 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009129/0.9498, allocations: 138 kB / 1.144 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.9498, allocations: 37.06 kB / 1.144 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.9498, allocations: 0 / 1.144 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.001183/0.951, allocations: 358.1 kB / 1.144 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.951, allocations: 54.06 kB / 1.144 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.9514, allocations: 231.8 kB / 1.144 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.9514, allocations: 27.52 kB / 1.144 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.9515, allocations: 197.6 kB / 1.144 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.9516, allocations: 60.47 kB / 1.144 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.9517, allocations: 45.09 kB / 1.145 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.9518, allocations: 337.1 kB / 1.145 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.952, allocations: 84.42 kB / 1.145 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.9523, allocations: 223 kB / 1.145 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.9528, allocations: 238.7 kB / 1.145 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.9529, allocations: 1.312 kB / 1.145 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000683/0.9535, allocations: 270.8 kB / 1.146 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.9536, allocations: 10.39 kB / 1.146 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9536, allocations: 2.469 kB / 1.146 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.9536, allocations: 3.031 kB / 1.146 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.9539, allocations: 47.69 kB / 1.146 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.9539, allocations: 3.906 kB / 1.146 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.9541, allocations: 25.33 kB / 1.146 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.9541, allocations: 9.188 kB / 1.146 GB, free: 10.96 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0002204/0.9544, allocations: 153.6 kB / 1.146 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.9545, allocations: 23.19 kB / 1.146 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/0.9553, allocations: 318 kB / 1.146 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.9553, allocations: 7.109 kB / 1.146 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.9553, allocations: 1.125 kB / 1.146 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9553, allocations: 0.7969 kB / 1.146 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.9566, allocations: 0.7054 MB / 1.147 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9566, allocations: 2.406 kB / 1.147 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.9568, allocations: 35.42 kB / 1.147 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.9568, allocations: 3.031 kB / 1.147 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.9568, allocations: 8.594 kB / 1.147 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.9568, allocations: 2.891 kB / 1.147 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.9569, allocations: 8.594 kB / 1.147 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.9575, allocations: 403.1 kB / 1.147 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.9576, allocations: 56.03 kB / 1.147 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.9577, allocations: 4.125 kB / 1.147 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.9579, allocations: 14.91 kB / 1.147 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.958, allocations: 20.77 kB / 1.147 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.958, allocations: 9.984 kB / 1.147 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001981/0.9582, allocations: 169.9 kB / 1.148 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9582, allocations: 0 / 1.148 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000852/0.9591, allocations: 130.3 kB / 1.148 GB, free: 10.15 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.000631/0.9597, allocations: 226.6 kB / 1.148 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006036/0.9603, allocations: 210.1 kB / 1.148 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9603, allocations: 5.125 kB / 1.148 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.9606, allocations: 117.3 kB / 1.148 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.9613, allocations: 93.91 kB / 1.148 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.9625, allocations: 0.5907 MB / 1.149 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.9627, allocations: 180.6 kB / 1.149 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.963, allocations: 68.59 kB / 1.149 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.9631, allocations: 29 kB / 1.149 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.9631, allocations: 0 / 1.149 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of Templates: time 0.01291/0.976, allocations: 5.925 MB / 1.155 GB, free: 8.949 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.58628149703145]