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.001491/0.001491, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.006693/0.006693, allocations: 181 kB / 24.09 MB, free: 424 kB / 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.9705/0.9705, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.151e-05, allocations: 2.312 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1274/0.1274, allocations: 144 MB / 0.9527 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1298, allocations: 2.29 MB / 0.9549 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.13, allocations: 19.81 kB / 0.9549 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1303, allocations: 91.2 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.1314, allocations: 0.6606 MB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.1323, allocations: 0.5025 MB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.1328, allocations: 0.7483 MB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.1334, allocations: 239.5 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.1338, allocations: 402.9 kB / 0.9575 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.1344, allocations: 406.8 kB / 0.9579 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.1344, allocations: 32 kB / 0.9579 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.135, allocations: 490.6 kB / 0.9584 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-05/0.1351, allocations: 119.6 kB / 0.9585 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.1352, allocations: 123.7 kB / 0.9586 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.1358, allocations: 0.5295 MB / 0.9591 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1358, allocations: 0 / 0.9591 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1358, allocations: 0 / 0.9591 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1358, allocations: 4 kB / 0.9591 GB, free: 10.27 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0006244/0.1364, allocations: 0.6826 MB / 0.9598 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1364, allocations: 12.03 kB / 0.9598 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/0.137, allocations: 188.1 kB / 0.96 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1373, allocations: 279.4 kB / 0.9603 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.1374, allocations: 76.61 kB / 0.9603 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.1374, allocations: 43.86 kB / 0.9604 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.1377, allocations: 299.8 kB / 0.9607 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1377, allocations: 0 / 0.9607 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1377, allocations: 15.92 kB / 0.9607 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1377, allocations: 8 kB / 0.9607 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1378, allocations: 87.38 kB / 0.9608 GB, free: 8.492 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.0009686/0.1388, allocations: 1.206 MB / 0.962 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1389, allocations: 79.14 kB / 0.962 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.139, allocations: 35.67 kB / 0.9621 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.1392, allocations: 75.92 kB / 0.9621 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1393, allocations: 37.39 kB / 0.9622 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1393, allocations: 0 / 0.9622 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0003208/0.1396, allocations: 161.3 kB / 0.9623 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.1396, allocations: 51.41 kB / 0.9624 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1398, allocations: 280.2 kB / 0.9626 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1398, allocations: 29.7 kB / 0.9627 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1399, allocations: 247.2 kB / 0.9629 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1399, allocations: 55.53 kB / 0.963 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.14, allocations: 55.3 kB / 0.963 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1401, allocations: 0.504 MB / 0.9635 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.1401, allocations: 15.98 kB / 0.9635 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.1402, allocations: 173.5 kB / 0.9637 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1403, allocations: 121.7 kB / 0.9638 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1403, allocations: 0 / 0.9638 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004487/0.1408, allocations: 149.4 kB / 0.9639 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1408, allocations: 7.938 kB / 0.9639 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.1408, allocations: 8 kB / 0.964 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1408, allocations: 0 / 0.964 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1409, allocations: 43.97 kB / 0.964 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.1409, allocations: 0 / 0.964 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.342e-05/0.141, allocations: 24.02 kB / 0.964 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.141, allocations: 12 kB / 0.964 GB, free: 4.934 MB / 0.9167 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.71e-05/0.1411, allocations: 168.5 kB / 0.9642 GB, free: 4.758 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.1412, allocations: 31.86 kB / 0.9642 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.1414, allocations: 149.5 kB / 0.9644 GB, free: 4.578 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1414, allocations: 3.938 kB / 0.9644 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1414, allocations: 0 / 0.9644 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1414, allocations: 11.92 kB / 0.9644 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.1419, allocations: 0.5384 MB / 0.9649 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1419, allocations: 4 kB / 0.9649 GB, free: 3.957 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.142, allocations: 35.92 kB / 0.9649 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.142, allocations: 3.938 kB / 0.9649 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.142, allocations: 4 kB / 0.965 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.142, allocations: 4 kB / 0.965 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.142, allocations: 3.984 kB / 0.965 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1422, allocations: 325.5 kB / 0.9653 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.1422, allocations: 51.92 kB / 0.9653 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1423, allocations: 8 kB / 0.9653 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.1424, allocations: 8 kB / 0.9653 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1424, allocations: 19.91 kB / 0.9654 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1424, allocations: 8 kB / 0.9654 GB, free: 3.441 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.1425, allocations: 189.1 kB / 0.9655 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1425, allocations: 0 / 0.9655 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002912/0.1428, allocations: 111.7 kB / 0.9656 GB, free: 3.152 MB / 0.9167 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.0002571/0.143, allocations: 171 kB / 0.9658 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1432, allocations: 87.5 kB / 0.9659 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1432, allocations: 384 / 0.9659 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.1432, allocations: 55.53 kB / 0.9659 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1436, allocations: 116.8 kB / 0.9661 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.1445, allocations: 0.5602 MB / 0.9666 GB, free: 2.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.1445, allocations: 100.3 kB / 0.9667 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.1447, allocations: 54.03 kB / 0.9668 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.1449, allocations: 174.1 kB / 0.9669 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.1449, allocations: 0 / 0.9669 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of Templates: time 0.007878/0.1528, allocations: 5.742 MB / 0.9725 GB, free: 12.13 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.355543497018516]