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.001318/0.001318, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001095/0.001095, allocations: 169 kB / 24.06 MB, free: 456 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.9187/0.9187, allocations: 177.1 MB / 204.5 MB, free: 5.508 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 2.125/2.125, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 2.224e-06/2.224e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/2.009e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.007213/0.007233, allocations: 7.338 MB / 0.8866 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004124/0.01136, allocations: 3.203 MB / 0.8897 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004469/0.0118, allocations: 23.81 kB / 0.8897 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.01248, allocations: 198.6 kB / 0.8899 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008783/0.01336, allocations: 485.1 kB / 0.8904 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.01461, allocations: 0.7128 MB / 0.8911 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.01562, allocations: 1.001 MB / 0.892 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.01597, allocations: 268.6 kB / 0.8923 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008967/0.01687, allocations: 0.5434 MB / 0.8928 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.0172, allocations: 267.1 kB / 0.8931 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.01725, allocations: 28 kB / 0.8931 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000651/0.0179, allocations: 467 kB / 0.8936 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.018, allocations: 107.5 kB / 0.8937 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.01813, allocations: 147.6 kB / 0.8938 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000774/0.0189, allocations: 0.6033 MB / 0.8944 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01891, allocations: 0 / 0.8944 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01891, allocations: 0 / 0.8944 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01891, allocations: 0 / 0.8944 GB, free: 6.641 MB / 0.8542 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.0009179/0.01983, allocations: 0.8603 MB / 0.8952 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.01986, allocations: 8.031 kB / 0.8952 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.01996, allocations: 76.56 kB / 0.8953 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.02037, allocations: 365.2 kB / 0.8957 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.0204, allocations: 20.88 kB / 0.8957 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.02043, allocations: 27.94 kB / 0.8957 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.02067, allocations: 148.8 kB / 0.8958 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.02068, allocations: 0 / 0.8958 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.02069, allocations: 8 kB / 0.8959 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.0207, allocations: 4 kB / 0.8959 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.02078, allocations: 59.39 kB / 0.8959 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.02169, allocations: 0.6749 MB / 0.8966 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.02181, allocations: 83.16 kB / 0.8967 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.02185, allocations: 31.66 kB / 0.8967 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.02193, allocations: 19.98 kB / 0.8967 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.02196, allocations: 45.27 kB / 0.8967 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.02196, allocations: 0 / 0.8967 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0002437/0.0222, allocations: 133.4 kB / 0.8969 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.02223, allocations: 51.41 kB / 0.8969 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.02251, allocations: 438.3 kB / 0.8973 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.02253, allocations: 29.7 kB / 0.8974 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.02274, allocations: 291.2 kB / 0.8976 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.02277, allocations: 51.62 kB / 0.8977 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.02284, allocations: 63.3 kB / 0.8978 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.02297, allocations: 0.5234 MB / 0.8983 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.02302, allocations: 31.53 kB / 0.8983 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.02321, allocations: 380.3 kB / 0.8987 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.02332, allocations: 93.61 kB / 0.8987 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02333, allocations: 0 / 0.8987 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002211/0.02355, allocations: 169.2 kB / 0.8989 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.02356, allocations: 7.938 kB / 0.8989 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.02357, allocations: 4 kB / 0.8989 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.02358, allocations: 4 kB / 0.8989 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.0237, allocations: 35.98 kB / 0.899 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.02371, allocations: 4 kB / 0.899 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.02383, allocations: 31.77 kB / 0.899 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.02385, allocations: 15.94 kB / 0.899 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001005/0.02395, allocations: 146.8 kB / 0.8991 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001692/0.02412, allocations: 393.6 kB / 0.8995 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.559e-05/0.02422, allocations: 114.2 kB / 0.8996 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.02422, allocations: 0 / 0.8996 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001852/0.0244, allocations: 165.3 kB / 0.8998 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.02441, allocations: 4 kB / 0.8998 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.02441, allocations: 7.938 kB / 0.8998 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.02441, allocations: 0 / 0.8998 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.02451, allocations: 47.91 kB / 0.8998 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.02451, allocations: 0 / 0.8998 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.02464, allocations: 27.94 kB / 0.8999 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.02465, allocations: 16.06 kB / 0.8999 GB, free: 0.5547 MB / 0.8542 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 0.0001056/0.02476, allocations: 283.9 kB / 0.9002 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.02481, allocations: 51.66 kB / 0.9002 GB, free: 224 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.02504, allocations: 163.3 kB / 0.9004 GB, free: 52 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.02505, allocations: 4 kB / 0.9004 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.02505, allocations: 0 / 0.9004 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.02505, allocations: 3.984 kB / 0.9004 GB, free: 44 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.02573, allocations: 0.5198 MB / 0.9009 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.02573, allocations: 0 / 0.9009 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.0258, allocations: 31.92 kB / 0.9009 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.02581, allocations: 0 / 0.9009 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.02582, allocations: 7.984 kB / 0.9009 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02582, allocations: 0 / 0.9009 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.02582, allocations: 4 kB / 0.9009 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.02605, allocations: 326.2 kB / 0.9012 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.02611, allocations: 59.62 kB / 0.9013 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.02614, allocations: 8.109 kB / 0.9013 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.02623, allocations: 12 kB / 0.9013 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.02626, allocations: 7.984 kB / 0.9013 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.02627, allocations: 7.984 kB / 0.9013 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001467/0.02642, allocations: 279 kB / 0.9016 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.02642, allocations: 4 kB / 0.9016 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004902/0.02691, allocations: 187.5 kB / 0.9018 GB, free: 14.52 MB / 0.8698 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.0009011/0.02781, allocations: 415.8 kB / 0.9022 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.02807, allocations: 156.8 kB / 0.9023 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02807, allocations: 0 / 0.9023 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.02814, allocations: 59.77 kB / 0.9024 GB, free: 14 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.02873, allocations: 179.7 kB / 0.9025 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.02992, allocations: 0.6781 MB / 0.9032 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.138e-05/0.02999, allocations: 113.2 kB / 0.9033 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.03018, allocations: 67.17 kB / 0.9034 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.03046, allocations: 206.1 kB / 0.9036 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of SimCode: time 1.744e-06/0.03046, allocations: 4 kB / 0.9036 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of Templates: time 0.012/0.04246, allocations: 8.427 MB / 0.9118 GB, free: 4.477 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.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.649526053108275]