Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.001396/0.001396, allocations: 80.83 kB / 20.75 MB, free: 3.73 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.00179/0.00179, allocations: 169 kB / 24.17 MB, free: 324 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 1/1, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.515e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.137/0.137, allocations: 146 MB / 0.9026 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.1391, allocations: 1.313 MB / 0.9039 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.1394, allocations: 15.88 kB / 0.9039 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1397, allocations: 79.28 kB / 0.904 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007658/0.1405, allocations: 401.7 kB / 0.9043 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.1413, allocations: 458.7 kB / 0.9048 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.142, allocations: 0.7174 MB / 0.9055 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.1423, allocations: 191.4 kB / 0.9057 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000549/0.1428, allocations: 386.9 kB / 0.906 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.1433, allocations: 191.4 kB / 0.9062 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.1434, allocations: 24 kB / 0.9062 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.1438, allocations: 299.1 kB / 0.9065 GB, free: 244 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1439, allocations: 123.6 kB / 0.9066 GB, free: 120 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.144, allocations: 123.7 kB / 0.9068 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.1446, allocations: 442.5 kB / 0.9072 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1446, allocations: 0 / 0.9072 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1446, allocations: 4 kB / 0.9072 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1446, allocations: 0 / 0.9072 GB, free: 15.56 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006472/0.1452, allocations: 0.5344 MB / 0.9077 GB, free: 15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1453, allocations: 12.03 kB / 0.9077 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.1459, allocations: 212.2 kB / 0.9079 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1462, allocations: 252.6 kB / 0.9082 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1462, allocations: 20.44 kB / 0.9082 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.1463, allocations: 24 kB / 0.9082 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.1465, allocations: 220.5 kB / 0.9084 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1465, allocations: 4 kB / 0.9084 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1465, allocations: 8 kB / 0.9084 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.1465, allocations: 8 kB / 0.9084 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.438e-05/0.1466, allocations: 77.27 kB / 0.9085 GB, free: 14.13 MB / 0.8698 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.0007018/0.1473, allocations: 0.7803 MB / 0.9093 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1475, allocations: 121.3 kB / 0.9094 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.1475, allocations: 27.69 kB / 0.9094 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.1477, allocations: 59.88 kB / 0.9095 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1477, allocations: 38.5 kB / 0.9095 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 2.364e-06/0.1477, allocations: 0 / 0.9095 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0002849/0.148, allocations: 131.3 kB / 0.9096 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.148, allocations: 55.41 kB / 0.9097 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1482, allocations: 239 kB / 0.9099 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1482, allocations: 33.7 kB / 0.9099 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.1483, allocations: 168.7 kB / 0.9101 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1483, allocations: 59.47 kB / 0.9102 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.1484, allocations: 49.64 kB / 0.9102 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1485, allocations: 334.8 kB / 0.9105 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.1485, allocations: 26.75 kB / 0.9106 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.1486, allocations: 147 kB / 0.9107 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1487, allocations: 119 kB / 0.9108 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1487, allocations: 8 kB / 0.9108 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001539/0.1489, allocations: 127.1 kB / 0.9109 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1489, allocations: 4 kB / 0.9109 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1489, allocations: 7.984 kB / 0.911 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1489, allocations: 0 / 0.911 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.149, allocations: 48.06 kB / 0.911 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.149, allocations: 0 / 0.911 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.1491, allocations: 15.89 kB / 0.911 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1491, allocations: 8 kB / 0.911 GB, free: 11.38 MB / 0.8698 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 (24): * Single equations (assignments): 24 * 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 7.69e-05/0.1492, allocations: 128.7 kB / 0.9111 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.1492, allocations: 31.91 kB / 0.9112 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.1494, allocations: 111.8 kB / 0.9113 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1494, allocations: 0 / 0.9113 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1494, allocations: 4 kB / 0.9113 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1494, allocations: 3.984 kB / 0.9113 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.1498, allocations: 0.5077 MB / 0.9118 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1498, allocations: 4 kB / 0.9118 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.1499, allocations: 31.92 kB / 0.9118 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1499, allocations: 0 / 0.9118 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1499, allocations: 4 kB / 0.9118 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.15, allocations: 4 kB / 0.9118 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.15, allocations: 0 / 0.9118 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1502, allocations: 333.5 kB / 0.9121 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1502, allocations: 39.88 kB / 0.9122 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1503, allocations: 12 kB / 0.9122 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1503, allocations: 8 kB / 0.9122 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1504, allocations: 23.84 kB / 0.9122 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.1504, allocations: 4 kB / 0.9122 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.346e-05/0.1504, allocations: 84.64 kB / 0.9123 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1504, allocations: 0 / 0.9123 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002375/0.1507, allocations: 91.83 kB / 0.9124 GB, free: 9.848 MB / 0.8698 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 (17): * Single equations (assignments): 17 * 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.0001995/0.1509, allocations: 120.2 kB / 0.9125 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.151, allocations: 85.25 kB / 0.9126 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.151, allocations: 0 / 0.9126 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.1511, allocations: 52.69 kB / 0.9126 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1515, allocations: 126.4 kB / 0.9128 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1526, allocations: 0.5838 MB / 0.9133 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.1527, allocations: 100.2 kB / 0.9134 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1528, allocations: 34.28 kB / 0.9135 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.153, allocations: 125.3 kB / 0.9136 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of SimCode: time 6.52e-07/0.153, allocations: 0 / 0.9136 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of Templates: time 0.006911/0.1599, allocations: 5.061 MB / 0.9185 GB, free: 3.637 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.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.346303618978709]