Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.0008327/0.0008327, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007968/0.0007968, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8936/0.8936, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.794/1.794, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.516e-05, allocations: 9.234 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0109/0.01092, allocations: 14.38 MB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00456/0.01548, allocations: 4.099 MB / 1.019 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000612/0.0161, allocations: 23.75 kB / 1.019 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0009146/0.01701, allocations: 254.3 kB / 1.019 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.01843, allocations: 0.7015 MB / 1.02 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.01999, allocations: 0.7374 MB / 1.021 GB, free: 8.73 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.02103, allocations: 1.009 MB / 1.022 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.02138, allocations: 252.4 kB / 1.022 GB, free: 7.461 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.02206, allocations: 0.5918 MB / 1.022 GB, free: 6.867 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.02236, allocations: 275.1 kB / 1.023 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.0224, allocations: 28 kB / 1.023 GB, free: 6.57 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008297/0.02323, allocations: 0.534 MB / 1.023 GB, free: 6.035 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.02332, allocations: 107.5 kB / 1.023 GB, free: 5.93 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.02343, allocations: 151.6 kB / 1.023 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.02427, allocations: 0.7788 MB / 1.024 GB, free: 5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.02428, allocations: 0 / 1.024 GB, free: 5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.597e-06/0.02428, allocations: 4 kB / 1.024 GB, free: 4.996 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.02429, allocations: 3.938 kB / 1.024 GB, free: 4.992 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008782/0.02516, allocations: 0.753 MB / 1.025 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.02521, allocations: 13.34 kB / 1.025 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.0253, allocations: 52.61 kB / 1.025 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.02579, allocations: 362.4 kB / 1.025 GB, free: 3.766 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.02581, allocations: 24.81 kB / 1.025 GB, free: 3.742 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.02585, allocations: 31.94 kB / 1.025 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.02616, allocations: 216 kB / 1.026 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.02617, allocations: 0 / 1.026 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.02619, allocations: 8 kB / 1.026 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.0262, allocations: 11.94 kB / 1.026 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.02643, allocations: 165.9 kB / 1.026 GB, free: 3.316 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.02752, allocations: 0.6948 MB / 1.027 GB, free: 2.582 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.02773, allocations: 126.5 kB / 1.027 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/0.02782, allocations: 64.81 kB / 1.027 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.02794, allocations: 35.91 kB / 1.027 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.02796, allocations: 34.56 kB / 1.027 GB, free: 2.305 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=14): time 2.584e-06/0.02797, allocations: 4 kB / 1.027 GB, free: 2.301 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14): time 0.0003961/0.02836, allocations: 240.6 kB / 1.027 GB, free: 2.062 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.02839, allocations: 59.34 kB / 1.027 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.02872, allocations: 429.9 kB / 1.027 GB, free: 1.562 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.02874, allocations: 29.7 kB / 1.027 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.02886, allocations: 228.6 kB / 1.028 GB, free: 1.301 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.02889, allocations: 55.53 kB / 1.028 GB, free: 1.246 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.02896, allocations: 57.69 kB / 1.028 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.02905, allocations: 354.7 kB / 1.028 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.02917, allocations: 72.81 kB / 1.028 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.02939, allocations: 414 kB / 1.029 GB, free: 268 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.0296, allocations: 168.4 kB / 1.029 GB, free: 92 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.0296, allocations: 0 / 1.029 GB, free: 92 kB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003239/0.02993, allocations: 249.2 kB / 1.029 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.02994, allocations: 10.19 kB / 1.029 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.02995, allocations: 3.984 kB / 1.029 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.02996, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.03011, allocations: 51.91 kB / 1.029 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.03011, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.03026, allocations: 31.83 kB / 1.029 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.03028, allocations: 11.98 kB / 1.029 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001782/0.03046, allocations: 188.1 kB / 1.029 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002164/0.03067, allocations: 420.2 kB / 1.03 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001978/0.03087, allocations: 168.2 kB / 1.03 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.03087, allocations: 4 kB / 1.03 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003002/0.03117, allocations: 249.3 kB / 1.03 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.03118, allocations: 11.94 kB / 1.03 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.03118, allocations: 0 / 1.03 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.03119, allocations: 4 kB / 1.03 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.03129, allocations: 47.91 kB / 1.03 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.03129, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.03144, allocations: 35.86 kB / 1.03 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.03146, allocations: 16.17 kB / 1.03 GB, free: 14.49 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 8.663e-05/0.03155, allocations: 196.2 kB / 1.03 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.03159, allocations: 51.59 kB / 1.03 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.03193, allocations: 241 kB / 1.031 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.03194, allocations: 7.984 kB / 1.031 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.03195, allocations: 0 / 1.031 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.03195, allocations: 3.938 kB / 1.031 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.03258, allocations: 0.6143 MB / 1.031 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.03259, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.03265, allocations: 31.91 kB / 1.031 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.03266, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.03267, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.03267, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03267, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.03295, allocations: 350.5 kB / 1.032 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.03303, allocations: 63.64 kB / 1.032 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.03305, allocations: 0 / 1.032 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.03316, allocations: 15.98 kB / 1.032 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.0332, allocations: 11.98 kB / 1.032 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.03321, allocations: 15.92 kB / 1.032 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002148/0.03343, allocations: 299.1 kB / 1.032 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.03343, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004681/0.03389, allocations: 207.5 kB / 1.032 GB, free: 12.31 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009096/0.0348, allocations: 498.3 kB / 1.033 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.03533, allocations: 259.7 kB / 1.033 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03533, allocations: 0 / 1.033 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.03544, allocations: 79.89 kB / 1.033 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.03598, allocations: 168.5 kB / 1.033 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009066/0.03689, allocations: 0.7095 MB / 1.034 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.03704, allocations: 223.7 kB / 1.034 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.03711, allocations: 40.48 kB / 1.034 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of SimCode: time 7.61e-07/0.03711, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of Templates: time 0.007207/0.04431, allocations: 7.174 MB / 1.041 GB, free: 3.324 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.63560211006552]