Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001265/0.001265, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001268/0.001268, 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.9736/0.9736, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.749/1.749, allocations: 359 MB / 0.6055 GB, free: 10.9 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.628e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1259/0.126, allocations: 143.4 MB / 0.9276 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1272, allocations: 0.8371 MB / 0.9284 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1274, allocations: 15.88 kB / 0.9284 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.1277, allocations: 75.36 kB / 0.9285 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007407/0.1284, allocations: 338.2 kB / 0.9288 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.129, allocations: 287.3 kB / 0.9291 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000453/0.1294, allocations: 0.5571 MB / 0.9296 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.1297, allocations: 161.5 kB / 0.9298 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.13, allocations: 299.2 kB / 0.9301 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1302, allocations: 187.5 kB / 0.9302 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1303, allocations: 16 kB / 0.9303 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1304, allocations: 83.8 kB / 0.9303 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.1305, allocations: 91.72 kB / 0.9304 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.1305, allocations: 83.83 kB / 0.9305 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1308, allocations: 239.2 kB / 0.9307 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1308, allocations: 0 / 0.9307 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1308, allocations: 0 / 0.9307 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1308, allocations: 0 / 0.9307 GB, free: 9.117 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005392/0.1314, allocations: 0.5617 MB / 0.9313 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1314, allocations: 16.03 kB / 0.9313 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.1315, allocations: 36.8 kB / 0.9313 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1317, allocations: 233 kB / 0.9316 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1317, allocations: 12.38 kB / 0.9316 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1317, allocations: 20.38 kB / 0.9316 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.132, allocations: 250.5 kB / 0.9318 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.132, allocations: 4 kB / 0.9318 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.132, allocations: 4 kB / 0.9318 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.132, allocations: 4 kB / 0.9318 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.1321, allocations: 69.31 kB / 0.9319 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.133, allocations: 1.68 MB / 0.9335 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1331, allocations: 194.8 kB / 0.9337 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.1332, allocations: 70.06 kB / 0.9338 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.1333, allocations: 31.95 kB / 0.9338 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1334, allocations: 45.33 kB / 0.9339 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.1334, allocations: 4 kB / 0.9339 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0002133/0.1336, allocations: 109.4 kB / 0.934 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.1336, allocations: 191.8 kB / 0.9342 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.1339, allocations: 250.8 kB / 0.9344 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1339, allocations: 29.7 kB / 0.9344 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.134, allocations: 210.9 kB / 0.9346 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.134, allocations: 40.3 kB / 0.9347 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.134, allocations: 39.36 kB / 0.9347 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1342, allocations: 0.504 MB / 0.9352 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.1342, allocations: 11.98 kB / 0.9352 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.1343, allocations: 203.9 kB / 0.9354 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.1344, allocations: 113.3 kB / 0.9355 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1344, allocations: 0 / 0.9355 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001273/0.1345, allocations: 125.3 kB / 0.9356 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1345, allocations: 9.875 kB / 0.9356 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1345, allocations: 0 / 0.9356 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1345, allocations: 4 kB / 0.9356 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.1346, allocations: 27.92 kB / 0.9357 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.1346, allocations: 7.938 kB / 0.9357 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.1347, allocations: 20.16 kB / 0.9357 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1347, allocations: 8.312 kB / 0.9357 GB, free: 3.516 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.706e-05/0.1348, allocations: 164.6 kB / 0.9359 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.1349, allocations: 23.78 kB / 0.9359 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.135, allocations: 86.77 kB / 0.936 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.135, allocations: 4 kB / 0.936 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.135, allocations: 0 / 0.936 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.135, allocations: 7.984 kB / 0.936 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.1355, allocations: 0.872 MB / 0.9368 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1355, allocations: 8.031 kB / 0.9368 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.1356, allocations: 16 kB / 0.9369 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1356, allocations: 3.984 kB / 0.9369 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1356, allocations: 8 kB / 0.9369 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1356, allocations: 0 / 0.9369 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1356, allocations: 4 kB / 0.9369 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1358, allocations: 294 kB / 0.9371 GB, free: 1.922 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.1358, allocations: 27.84 kB / 0.9372 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1359, allocations: 8 kB / 0.9372 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.1359, allocations: 4.031 kB / 0.9372 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.136, allocations: 19.95 kB / 0.9372 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.136, allocations: 4 kB / 0.9372 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.41e-05/0.136, allocations: 171.4 kB / 0.9374 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.136, allocations: 0 / 0.9374 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002149/0.1363, allocations: 67.81 kB / 0.9374 GB, free: 1.625 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0001767/0.1364, allocations: 131.1 kB / 0.9376 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1366, allocations: 71.91 kB / 0.9376 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1366, allocations: 0 / 0.9376 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.1366, allocations: 39.61 kB / 0.9377 GB, free: 1.371 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1369, allocations: 62.98 kB / 0.9377 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.1376, allocations: 454.1 kB / 0.9382 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.5e-05/0.1377, allocations: 95.89 kB / 0.9383 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.1377, allocations: 17.48 kB / 0.9383 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1378, allocations: 118.2 kB / 0.9384 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/0.1378, allocations: 0 / 0.9384 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of Templates: time 0.005181/0.143, allocations: 2.987 MB / 0.9413 GB, free: 13.66 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.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.124484778847545]