Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001353/0.001353, 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.001491/0.001491, 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.915/0.915, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.738/1.738, 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.219e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.124/0.124, allocations: 143.8 MB / 0.928 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1257, allocations: 1.272 MB / 0.9293 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1259, allocations: 19.81 kB / 0.9293 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1262, allocations: 79.34 kB / 0.9294 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006917/0.1269, allocations: 401.7 kB / 0.9297 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.1276, allocations: 446.8 kB / 0.9302 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.1282, allocations: 0.7049 MB / 0.9308 GB, free: 9 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1284, allocations: 201.4 kB / 0.931 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.1288, allocations: 367 kB / 0.9314 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.129, allocations: 199.4 kB / 0.9316 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.1291, allocations: 24 kB / 0.9316 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.1294, allocations: 303.1 kB / 0.9319 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.1295, allocations: 119.6 kB / 0.932 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.1296, allocations: 119.8 kB / 0.9321 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.1301, allocations: 438.5 kB / 0.9325 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1301, allocations: 0 / 0.9325 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1301, allocations: 0 / 0.9325 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1301, allocations: 0 / 0.9325 GB, free: 7.262 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005469/0.1306, allocations: 0.6475 MB / 0.9332 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1306, allocations: 8.031 kB / 0.9332 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006182/0.1313, allocations: 216.1 kB / 0.9334 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1315, allocations: 263.5 kB / 0.9336 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1315, allocations: 24.81 kB / 0.9337 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.1316, allocations: 20.38 kB / 0.9337 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1318, allocations: 227.1 kB / 0.9339 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1318, allocations: 3.938 kB / 0.9339 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1318, allocations: 12 kB / 0.9339 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1318, allocations: 4 kB / 0.9339 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.672e-05/0.1319, allocations: 79.77 kB / 0.934 GB, free: 5.68 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.0007376/0.1326, allocations: 1.067 MB / 0.935 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1327, allocations: 90.94 kB / 0.9351 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.1328, allocations: 35.95 kB / 0.9352 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.133, allocations: 55.83 kB / 0.9352 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.133, allocations: 41.33 kB / 0.9352 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.133, allocations: 0 / 0.9352 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.000258/0.1332, allocations: 155.4 kB / 0.9354 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.1333, allocations: 59.34 kB / 0.9355 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1334, allocations: 288.2 kB / 0.9357 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1334, allocations: 29.7 kB / 0.9358 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.1335, allocations: 230.9 kB / 0.936 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1336, allocations: 63.47 kB / 0.936 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.1336, allocations: 47.34 kB / 0.9361 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1337, allocations: 0.5079 MB / 0.9366 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.1338, allocations: 15.98 kB / 0.9366 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.1338, allocations: 164.9 kB / 0.9367 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1339, allocations: 121 kB / 0.9369 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1339, allocations: 0 / 0.9369 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001553/0.1341, allocations: 149.3 kB / 0.937 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1341, allocations: 4 kB / 0.937 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1341, allocations: 4 kB / 0.937 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1341, allocations: 0 / 0.937 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.1342, allocations: 35.98 kB / 0.937 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1342, allocations: 4 kB / 0.9371 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.1343, allocations: 31.97 kB / 0.9371 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1343, allocations: 4 kB / 0.9371 GB, free: 2.301 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.168e-05/0.1344, allocations: 176.4 kB / 0.9373 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.1344, allocations: 31.81 kB / 0.9373 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1346, allocations: 123.3 kB / 0.9374 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1346, allocations: 4 kB / 0.9374 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1346, allocations: 0 / 0.9374 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1346, allocations: 3.938 kB / 0.9374 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.135, allocations: 0.515 MB / 0.9379 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.135, allocations: 4 kB / 0.9379 GB, free: 1.371 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.1351, allocations: 27.92 kB / 0.9379 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1351, allocations: 4 kB / 0.9379 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1351, allocations: 8 kB / 0.938 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1351, allocations: 4 kB / 0.938 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1351, allocations: 0 / 0.938 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1353, allocations: 360.5 kB / 0.9383 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.1354, allocations: 27.84 kB / 0.9383 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1354, allocations: 12.12 kB / 0.9383 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/0.1355, allocations: 4 kB / 0.9383 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1355, allocations: 23.91 kB / 0.9384 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1355, allocations: 4 kB / 0.9384 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.084e-05/0.1356, allocations: 201 kB / 0.9386 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1356, allocations: 0 / 0.9386 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002457/0.1358, allocations: 87.83 kB / 0.9386 GB, free: 0.5742 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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.0001928/0.136, allocations: 131.2 kB / 0.9388 GB, free: 448 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1362, allocations: 91.52 kB / 0.9389 GB, free: 352 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1362, allocations: 0 / 0.9389 GB, free: 352 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.1362, allocations: 51.52 kB / 0.9389 GB, free: 296 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1366, allocations: 126.3 kB / 0.939 GB, free: 176 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.1375, allocations: 0.5671 MB / 0.9396 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.1376, allocations: 100.3 kB / 0.9397 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.024e-05/0.1377, allocations: 42.39 kB / 0.9397 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.1379, allocations: 150.1 kB / 0.9399 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/0.1379, allocations: 0 / 0.9399 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.0067/0.1446, allocations: 5.052 MB / 0.9448 GB, free: 10.32 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.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.149146955925971]