Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001932/0.001932, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001596/0.001596, allocations: 157 kB / 23.01 MB, free: 4.949 MB / 14.72 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.542/1.542, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.916/2.916, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 63.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.267, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01475/1.282, allocations: 16.33 MB / 1.17 GB, free: 22.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006751/1.289, allocations: 4.679 MB / 1.174 GB, free: 19.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/1.289, allocations: 30.19 kB / 1.174 GB, free: 19.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009574/1.29, allocations: 263.8 kB / 1.175 GB, free: 19.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/1.292, allocations: 0.6669 MB / 1.175 GB, free: 18.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/1.294, allocations: 0.7448 MB / 1.176 GB, free: 18.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001552/1.295, allocations: 0.9744 MB / 1.177 GB, free: 17.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/1.296, allocations: 280.2 kB / 1.177 GB, free: 17.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/1.297, allocations: 496.5 kB / 1.178 GB, free: 17.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/1.298, allocations: 307.2 kB / 1.178 GB, free: 17.35 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/1.298, allocations: 29.31 kB / 1.178 GB, free: 17.35 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/1.299, allocations: 0.6048 MB / 1.179 GB, free: 17.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/1.299, allocations: 140.9 kB / 1.179 GB, free: 17.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/1.299, allocations: 197.8 kB / 1.179 GB, free: 17.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/1.3, allocations: 0.8697 MB / 1.18 GB, free: 16.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.3, allocations: 4.797 kB / 1.18 GB, free: 16.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1.3, allocations: 0 / 1.18 GB, free: 16.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.3, allocations: 1.469 kB / 1.18 GB, free: 16.69 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001319/1.302, allocations: 0.8245 MB / 1.181 GB, free: 16.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.302, allocations: 9.562 kB / 1.181 GB, free: 16.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/1.302, allocations: 63.66 kB / 1.181 GB, free: 16.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/1.303, allocations: 406.8 kB / 1.181 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/1.303, allocations: 24.81 kB / 1.181 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/1.303, allocations: 27.25 kB / 1.181 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/1.303, allocations: 286.9 kB / 1.181 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/1.303, allocations: 4 kB / 1.181 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/1.303, allocations: 14.69 kB / 1.181 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.303, allocations: 6.875 kB / 1.181 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/1.304, allocations: 184.8 kB / 1.182 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/1.306, allocations: 1.178 MB / 1.183 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/1.306, allocations: 148.3 kB / 1.183 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/1.306, allocations: 76.16 kB / 1.183 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/1.307, allocations: 0.533 MB / 1.184 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.307, allocations: 32.55 kB / 1.184 GB, free: 14.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.614e-06/1.307, allocations: 0 / 1.184 GB, free: 14.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006384/1.308, allocations: 250.5 kB / 1.184 GB, free: 14.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/1.308, allocations: 54.66 kB / 1.184 GB, free: 14.06 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/1.309, allocations: 0.5681 MB / 1.184 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/1.309, allocations: 27.42 kB / 1.184 GB, free: 13.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/1.309, allocations: 275.2 kB / 1.185 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/1.309, allocations: 55.69 kB / 1.185 GB, free: 13.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.309, allocations: 74.39 kB / 1.185 GB, free: 13.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.309, allocations: 352.9 kB / 1.185 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.309, allocations: 80.16 kB / 1.185 GB, free: 13.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/1.31, allocations: 445.5 kB / 1.186 GB, free: 12.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/1.31, allocations: 231.2 kB / 1.186 GB, free: 12.51 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.31, allocations: 1.188 kB / 1.186 GB, free: 12.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005932/1.311, allocations: 309.5 kB / 1.186 GB, free: 12.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.311, allocations: 9.031 kB / 1.186 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.311, allocations: 11.17 kB / 1.186 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.311, allocations: 3.844 kB / 1.186 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.311, allocations: 64.66 kB / 1.186 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/1.311, allocations: 4.859 kB / 1.186 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/1.311, allocations: 41.48 kB / 1.186 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/1.311, allocations: 19.5 kB / 1.186 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003089/1.312, allocations: 214.7 kB / 1.187 GB, free: 12.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003521/1.312, allocations: 452.9 kB / 1.187 GB, free: 11.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000378/1.313, allocations: 240 kB / 1.187 GB, free: 11.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/1.313, allocations: 4.875 kB / 1.187 GB, free: 11.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005653/1.313, allocations: 306.2 kB / 1.188 GB, free: 11.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.313, allocations: 5.578 kB / 1.188 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/1.313, allocations: 2.656 kB / 1.188 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/1.313, allocations: 9.25 kB / 1.188 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.313, allocations: 63.39 kB / 1.188 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.313, allocations: 9.172 kB / 1.188 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/1.314, allocations: 34.12 kB / 1.188 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/1.314, allocations: 16.42 kB / 1.188 GB, free: 11.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 9.019e-05/1.314, allocations: 204 kB / 1.188 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/1.314, allocations: 47.95 kB / 1.188 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/1.314, allocations: 259.8 kB / 1.188 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.314, allocations: 4.172 kB / 1.188 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.314, allocations: 0 / 1.188 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.314, allocations: 0.75 kB / 1.188 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/1.316, allocations: 0.654 MB / 1.189 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.316, allocations: 2.984 kB / 1.189 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/1.316, allocations: 27.77 kB / 1.189 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.316, allocations: 3.469 kB / 1.189 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.316, allocations: 6.094 kB / 1.189 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.316, allocations: 3.812 kB / 1.189 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.316, allocations: 1.125 kB / 1.189 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/1.316, allocations: 364.4 kB / 1.189 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/1.316, allocations: 59.73 kB / 1.189 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/1.317, allocations: 6.969 kB / 1.189 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/1.317, allocations: 13.94 kB / 1.189 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.317, allocations: 11.86 kB / 1.189 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/1.317, allocations: 6.844 kB / 1.189 GB, free: 10.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005449/1.317, allocations: 403.4 kB / 1.19 GB, free: 10.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.317, allocations: 0 / 1.19 GB, free: 10.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001124/1.318, allocations: 243.9 kB / 1.19 GB, free: 10.15 MB / 1.076 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 (17): * Single equations (assignments): 15 * 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.001843/1.32, allocations: 0.5012 MB / 1.19 GB, free: 9.922 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008126/1.321, allocations: 313.9 kB / 1.191 GB, free: 9.832 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.321, allocations: 1.312 kB / 1.191 GB, free: 9.832 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/1.321, allocations: 81.03 kB / 1.191 GB, free: 9.812 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.323, allocations: 232.8 kB / 1.191 GB, free: 9.738 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/1.324, allocations: 0.8246 MB / 1.192 GB, free: 9.254 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/1.324, allocations: 239 kB / 1.192 GB, free: 9.152 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003435/1.325, allocations: 94.97 kB / 1.192 GB, free: 9.133 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/1.325, allocations: 41.17 kB / 1.192 GB, free: 9.121 MB / 1.076 GB Notification: Performance of SimCode: time 7.62e-07/1.325, allocations: 5.375 kB / 1.192 GB, free: 9.117 MB / 1.076 GB Notification: Performance of Templates: time 0.0247/1.349, allocations: 10.21 MB / 1.202 GB, free: 7.891 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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: 10.22351062099915]