Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001259/0.001259, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001423/0.001423, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.839/1.839, allocations: 359 MB / 0.6052 GB, free: 11.02 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.412e-05, allocations: 8.984 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.138/0.138, allocations: 146.7 MB / 0.9304 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.1411, allocations: 2.311 MB / 0.9327 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1413, allocations: 19.81 kB / 0.9327 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.1417, allocations: 87.2 kB / 0.9328 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.143, allocations: 0.6684 MB / 0.9334 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.1438, allocations: 0.5181 MB / 0.9339 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005653/0.1443, allocations: 0.7484 MB / 0.9347 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.1447, allocations: 239.5 kB / 0.9349 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.1451, allocations: 406.9 kB / 0.9353 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.1457, allocations: 410.9 kB / 0.9357 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.1457, allocations: 28 kB / 0.9357 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.1462, allocations: 482.6 kB / 0.9362 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1463, allocations: 131.5 kB / 0.9363 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1464, allocations: 119.8 kB / 0.9364 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.147, allocations: 0.5334 MB / 0.9369 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.147, allocations: 0 / 0.9369 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.382e-06/0.147, allocations: 0 / 0.9369 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.147, allocations: 7.938 kB / 0.9369 GB, free: 2.562 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0006866/0.1477, allocations: 0.6788 MB / 0.9376 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 0.0003128/0.148, allocations: 12.03 kB / 0.9376 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000597/0.1486, allocations: 188.1 kB / 0.9378 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.149, allocations: 279.5 kB / 0.938 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.149, allocations: 72.62 kB / 0.9381 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.1491, allocations: 35.88 kB / 0.9381 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.1494, allocations: 315.9 kB / 0.9384 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1494, allocations: 0 / 0.9384 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1494, allocations: 12 kB / 0.9385 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1495, allocations: 4 kB / 0.9385 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.1496, allocations: 118.9 kB / 0.9386 GB, free: 0.7578 MB / 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.001067/0.1507, allocations: 1.268 MB / 0.9398 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1509, allocations: 83.16 kB / 0.9399 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.1509, allocations: 43.64 kB / 0.9399 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.1512, allocations: 87.92 kB / 0.94 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1512, allocations: 37.38 kB / 0.9401 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.1512, allocations: 0 / 0.9401 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0003806/0.1516, allocations: 172.4 kB / 0.9402 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1516, allocations: 63.34 kB / 0.9403 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1518, allocations: 280.3 kB / 0.9405 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1518, allocations: 29.7 kB / 0.9406 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1519, allocations: 247.2 kB / 0.9408 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.152, allocations: 51.59 kB / 0.9409 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.152, allocations: 47.36 kB / 0.9409 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1521, allocations: 0.504 MB / 0.9414 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.1522, allocations: 27.94 kB / 0.9414 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1523, allocations: 164.8 kB / 0.9416 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1524, allocations: 132.2 kB / 0.9417 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1524, allocations: 0 / 0.9417 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000221/0.1526, allocations: 161.3 kB / 0.9419 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1527, allocations: 8 kB / 0.9419 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1527, allocations: 3.938 kB / 0.9419 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1527, allocations: 8.188 kB / 0.9419 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1528, allocations: 31.98 kB / 0.9419 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1528, allocations: 11.92 kB / 0.9419 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.1529, allocations: 15.89 kB / 0.9419 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1529, allocations: 16 kB / 0.942 GB, free: 13.07 MB / 0.9011 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 8.976e-05/0.153, allocations: 164.5 kB / 0.9421 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.1531, allocations: 31.8 kB / 0.9421 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1533, allocations: 159.3 kB / 0.9423 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1533, allocations: 0 / 0.9423 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1533, allocations: 3.938 kB / 0.9423 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1533, allocations: 0 / 0.9423 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.1539, allocations: 0.608 MB / 0.9429 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1539, allocations: 0 / 0.9429 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.154, allocations: 35.92 kB / 0.9429 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.154, allocations: 7.938 kB / 0.9429 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.154, allocations: 4 kB / 0.9429 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.154, allocations: 0 / 0.9429 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.154, allocations: 8.219 kB / 0.9429 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1542, allocations: 341.3 kB / 0.9433 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.1543, allocations: 39.83 kB / 0.9433 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1543, allocations: 4 kB / 0.9433 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.1544, allocations: 15.98 kB / 0.9433 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1544, allocations: 11.92 kB / 0.9433 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1544, allocations: 12 kB / 0.9433 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000102/0.1545, allocations: 205 kB / 0.9435 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1545, allocations: 0 / 0.9435 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002784/0.1548, allocations: 103.7 kB / 0.9436 GB, free: 11.2 MB / 0.9011 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 (15): * Single equations (assignments): 15 * 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.0002622/0.1551, allocations: 171 kB / 0.9438 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1553, allocations: 103.5 kB / 0.9439 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1553, allocations: 0 / 0.9439 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.1553, allocations: 58.34 kB / 0.944 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1557, allocations: 112.9 kB / 0.9441 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1569, allocations: 0.5642 MB / 0.9446 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.053e-05/0.157, allocations: 104.2 kB / 0.9447 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000113/0.1571, allocations: 57.84 kB / 0.9448 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.1571, allocations: 24.5 kB / 0.9448 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.1571, allocations: 0 / 0.9448 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of Templates: time 0.006754/0.1639, allocations: 5.17 MB / 0.9498 GB, free: 4.883 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.569069178774953]