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.0009804/0.0009804, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009465/0.0009465, allocations: 161 kB / 23.82 MB, free: 0.75 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.9096/0.9096, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.754/1.754, allocations: 359 MB / 0.6052 GB, free: 10.98 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 2.866e-06/2.866e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.984e-05, allocations: 8.875 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1337/0.1338, allocations: 146.7 MB / 0.9304 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.1366, allocations: 2.303 MB / 0.9327 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.1368, allocations: 19.81 kB / 0.9327 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1372, allocations: 87.27 kB / 0.9328 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.1386, allocations: 0.6644 MB / 0.9334 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.1396, allocations: 0.5181 MB / 0.9339 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000677/0.1403, allocations: 0.7483 MB / 0.9347 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.1406, allocations: 243.5 kB / 0.9349 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.1411, allocations: 407 kB / 0.9353 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.1417, allocations: 410.8 kB / 0.9357 GB, free: 3.867 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.1417, allocations: 32 kB / 0.9357 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007204/0.1424, allocations: 482.6 kB / 0.9362 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1425, allocations: 123.6 kB / 0.9363 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1426, allocations: 127.7 kB / 0.9364 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.1433, allocations: 0.5257 MB / 0.9369 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1433, allocations: 0 / 0.9369 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.414e-06/0.1433, allocations: 3.984 kB / 0.9369 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.1433, allocations: 0 / 0.9369 GB, free: 2.586 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.0007102/0.144, allocations: 0.6865 MB / 0.9376 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1441, allocations: 12.03 kB / 0.9376 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006491/0.1447, allocations: 188.1 kB / 0.9378 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1451, allocations: 287.4 kB / 0.9381 GB, free: 1.363 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.1452, allocations: 76.62 kB / 0.9381 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.1452, allocations: 35.94 kB / 0.9382 GB, free: 1.238 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.1456, allocations: 311.9 kB / 0.9385 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1456, allocations: 3.938 kB / 0.9385 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.1456, allocations: 12 kB / 0.9385 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1456, allocations: 4 kB / 0.9385 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1458, allocations: 114.9 kB / 0.9386 GB, free: 0.7656 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.0012/0.147, allocations: 1.264 MB / 0.9398 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1472, allocations: 82.67 kB / 0.9399 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.1472, allocations: 43.67 kB / 0.9399 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.1475, allocations: 83.91 kB / 0.94 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1475, allocations: 41.33 kB / 0.9401 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 2.023e-06/0.1475, allocations: 0 / 0.9401 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0003889/0.1479, allocations: 169.3 kB / 0.9402 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.148, allocations: 59.34 kB / 0.9403 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1481, allocations: 280.3 kB / 0.9405 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1482, allocations: 25.7 kB / 0.9406 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1483, allocations: 251.2 kB / 0.9408 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1483, allocations: 51.53 kB / 0.9409 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.1484, allocations: 51.36 kB / 0.9409 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1485, allocations: 0.5001 MB / 0.9414 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.1485, allocations: 27.94 kB / 0.9414 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1486, allocations: 180.4 kB / 0.9416 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1488, allocations: 125.7 kB / 0.9417 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1488, allocations: 0 / 0.9417 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002236/0.149, allocations: 167.1 kB / 0.9419 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.149, allocations: 4 kB / 0.9419 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.149, allocations: 7.984 kB / 0.9419 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.149, allocations: 4 kB / 0.9419 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1492, allocations: 39.92 kB / 0.9419 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1492, allocations: 7.938 kB / 0.9419 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.1493, allocations: 20.06 kB / 0.942 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1493, 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 9.013e-05/0.1494, allocations: 160.6 kB / 0.9421 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.1494, allocations: 27.86 kB / 0.9422 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1497, allocations: 159.3 kB / 0.9423 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1497, allocations: 4 kB / 0.9423 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1497, allocations: 3.938 kB / 0.9423 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1497, allocations: 0 / 0.9423 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.1503, allocations: 0.6003 MB / 0.9429 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1503, allocations: 3.938 kB / 0.9429 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.1503, allocations: 27.98 kB / 0.9429 GB, free: 12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.1504, allocations: 4 kB / 0.9429 GB, free: 12 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1504, allocations: 7.984 kB / 0.9429 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1504, allocations: 0 / 0.9429 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1504, allocations: 7.938 kB / 0.9429 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1506, allocations: 337.4 kB / 0.9433 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.1507, allocations: 47.98 kB / 0.9433 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1507, allocations: 8 kB / 0.9433 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.1508, allocations: 12 kB / 0.9433 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.1508, allocations: 19.91 kB / 0.9434 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1508, allocations: 8 kB / 0.9434 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.228e-05/0.1509, allocations: 201.1 kB / 0.9436 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1509, allocations: 0 / 0.9436 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003068/0.1512, allocations: 107.7 kB / 0.9437 GB, free: 11.21 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.0002871/0.1515, allocations: 182.9 kB / 0.9438 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.1517, allocations: 95.52 kB / 0.9439 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1517, allocations: 0 / 0.9439 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.1518, allocations: 58.16 kB / 0.944 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1522, allocations: 107 kB / 0.9441 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.1531, allocations: 0.5642 MB / 0.9446 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.1532, allocations: 104.2 kB / 0.9447 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000135/0.1533, allocations: 53.92 kB / 0.9448 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.1534, allocations: 28.48 kB / 0.9448 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of SimCode: time 1.022e-06/0.1534, allocations: 0 / 0.9448 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of Templates: time 0.00806/0.1615, allocations: 5.697 MB / 0.9504 GB, free: 4.363 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.29997426411137]