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.0009303/0.0009303, allocations: 82.64 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.0009366/0.0009366, allocations: 181 kB / 24.09 MB, free: 420 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.9566/0.9566, 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 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.774/1.774, allocations: 359 MB / 0.6055 GB, free: 10.89 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.322e-06/1.322e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.543e-05, allocations: 2.875 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1273/0.1274, allocations: 144 MB / 0.9282 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.13, allocations: 2.286 MB / 0.9304 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.1302, allocations: 15.88 kB / 0.9305 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.1306, allocations: 91.27 kB / 0.9306 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.1317, allocations: 0.6683 MB / 0.9312 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.1324, allocations: 0.5065 MB / 0.9317 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.1331, allocations: 0.7599 MB / 0.9324 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.1334, allocations: 239.5 kB / 0.9327 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.1338, allocations: 406.9 kB / 0.9331 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.1343, allocations: 414.8 kB / 0.9335 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.1344, allocations: 28 kB / 0.9335 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.1349, allocations: 482.6 kB / 0.9339 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.135, allocations: 127.6 kB / 0.9341 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.1351, allocations: 123.7 kB / 0.9342 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.1356, allocations: 0.5334 MB / 0.9347 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1356, allocations: 0 / 0.9347 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1356, allocations: 0 / 0.9347 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1356, allocations: 4 kB / 0.9347 GB, free: 5.031 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.0005921/0.1362, allocations: 0.6826 MB / 0.9354 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1362, allocations: 12.03 kB / 0.9354 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005499/0.1368, allocations: 184.1 kB / 0.9356 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1371, allocations: 287.4 kB / 0.9358 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.1371, allocations: 72.62 kB / 0.9359 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1372, allocations: 31.94 kB / 0.9359 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.1378, allocations: 303.8 kB / 0.9362 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1378, allocations: 4 kB / 0.9362 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1378, allocations: 8 kB / 0.9362 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1378, allocations: 8 kB / 0.9362 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1379, allocations: 95.36 kB / 0.9363 GB, free: 3.254 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.0009108/0.1388, allocations: 1.194 MB / 0.9375 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1389, allocations: 79.06 kB / 0.9376 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.139, allocations: 39.67 kB / 0.9376 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.1392, allocations: 91.8 kB / 0.9377 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1392, allocations: 37.39 kB / 0.9377 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.1392, allocations: 0 / 0.9377 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003172/0.1396, allocations: 156.1 kB / 0.9379 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.1396, allocations: 63.34 kB / 0.9379 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1397, allocations: 284.1 kB / 0.9382 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1397, allocations: 29.7 kB / 0.9382 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1398, allocations: 251.1 kB / 0.9385 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1399, allocations: 51.58 kB / 0.9385 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.1399, allocations: 47.36 kB / 0.9386 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.14, allocations: 0.5001 MB / 0.9391 GB, free: 316 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.1401, allocations: 19.94 kB / 0.9391 GB, free: 296 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.1402, allocations: 174.9 kB / 0.9392 GB, free: 72 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1403, allocations: 121.7 kB / 0.9394 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1403, allocations: 0 / 0.9394 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001838/0.1405, allocations: 149.3 kB / 0.9395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1405, allocations: 5.875 kB / 0.9395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1405, allocations: 192 / 0.9395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.1405, allocations: 8 kB / 0.9395 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1406, allocations: 47.86 kB / 0.9396 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1406, allocations: 0 / 0.9396 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.1407, allocations: 23.81 kB / 0.9396 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1407, allocations: 12 kB / 0.9396 GB, free: 15.68 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.431e-05/0.1408, allocations: 164.5 kB / 0.9398 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.1408, allocations: 35.8 kB / 0.9398 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.141, allocations: 143.3 kB / 0.9399 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.141, allocations: 0 / 0.9399 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.141, allocations: 0 / 0.9399 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.141, allocations: 3.938 kB / 0.9399 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.1415, allocations: 0.5422 MB / 0.9405 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1415, allocations: 7.984 kB / 0.9405 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.1416, allocations: 27.98 kB / 0.9405 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1416, allocations: 7.938 kB / 0.9405 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1416, allocations: 4 kB / 0.9405 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1416, allocations: 12.16 kB / 0.9405 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1416, allocations: 4 kB / 0.9405 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1418, allocations: 329.4 kB / 0.9408 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.1418, allocations: 43.77 kB / 0.9409 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1419, allocations: 8 kB / 0.9409 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.1419, allocations: 11.98 kB / 0.9409 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.142, allocations: 11.98 kB / 0.9409 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.142, allocations: 8 kB / 0.9409 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.1421, allocations: 189.1 kB / 0.9411 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.1421, allocations: 0 / 0.9411 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002673/0.1423, allocations: 115.7 kB / 0.9412 GB, free: 13.91 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.0002315/0.1426, allocations: 171 kB / 0.9414 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1427, allocations: 101.4 kB / 0.9415 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1427, allocations: 0 / 0.9415 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.1427, allocations: 54.2 kB / 0.9415 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1431, allocations: 125 kB / 0.9416 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007883/0.1439, allocations: 0.5603 MB / 0.9422 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.144, allocations: 92.3 kB / 0.9423 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.74e-05/0.1441, allocations: 41.88 kB / 0.9423 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.1443, allocations: 170.1 kB / 0.9425 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of SimCode: time 6.61e-07/0.1443, allocations: 0 / 0.9425 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of Templates: time 0.007247/0.1515, allocations: 5.751 MB / 0.9481 GB, free: 6.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.181787774898112]