Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001374/0.001374, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002353/0.002353, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.531/1.531, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.863/2.863, allocations: 377.9 MB / 0.6228 GB, free: 12.59 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [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.002111/0.002111, allocations: 72.17 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01468/1.137, allocations: 14.51 MB / 1.168 GB, free: 23.5 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005889/1.143, allocations: 4.111 MB / 1.172 GB, free: 20.78 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005173/1.143, allocations: 28.25 kB / 1.172 GB, free: 20.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009782/1.144, allocations: 258.8 kB / 1.172 GB, free: 20.62 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/1.146, allocations: 0.6646 MB / 1.173 GB, free: 20.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/1.148, allocations: 0.7249 MB / 1.174 GB, free: 19.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001087/1.149, allocations: 1.032 MB / 1.175 GB, free: 19.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/1.149, allocations: 273.6 kB / 1.175 GB, free: 19.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/1.15, allocations: 0.4892 MB / 1.175 GB, free: 19.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/1.15, allocations: 305.5 kB / 1.176 GB, free: 18.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/1.151, allocations: 32.28 kB / 1.176 GB, free: 18.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/1.152, allocations: 0.5326 MB / 1.176 GB, free: 18.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/1.152, allocations: 104.9 kB / 1.176 GB, free: 18.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/1.152, allocations: 184.4 kB / 1.177 GB, free: 18.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/1.153, allocations: 0.7584 MB / 1.177 GB, free: 18.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.153, allocations: 1.062 kB / 1.177 GB, free: 18.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.174e-06/1.153, allocations: 0 / 1.177 GB, free: 18.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.816e-06/1.153, allocations: 4 kB / 1.177 GB, free: 18.36 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001187/1.155, allocations: 0.769 MB / 1.178 GB, free: 17.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.155, allocations: 9.344 kB / 1.178 GB, free: 17.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/1.155, allocations: 59.64 kB / 1.178 GB, free: 17.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/1.155, allocations: 366.7 kB / 1.178 GB, free: 17.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/1.155, allocations: 20.5 kB / 1.179 GB, free: 17.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/1.156, allocations: 30.64 kB / 1.179 GB, free: 17.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/1.156, allocations: 214 kB / 1.179 GB, free: 17.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.156, allocations: 0 / 1.179 GB, free: 17.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/1.156, allocations: 14.33 kB / 1.179 GB, free: 17.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/1.156, allocations: 5.375 kB / 1.179 GB, free: 17.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/1.156, allocations: 168.4 kB / 1.179 GB, free: 17.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/1.158, allocations: 0.6981 MB / 1.18 GB, free: 16.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/1.158, allocations: 127.4 kB / 1.18 GB, free: 16.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/1.158, allocations: 65.64 kB / 1.18 GB, free: 16.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/1.159, allocations: 33.56 kB / 1.18 GB, free: 16.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/1.159, allocations: 35.81 kB / 1.18 GB, free: 16.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/1.159, allocations: 0 / 1.18 GB, free: 16.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0006888/1.159, allocations: 234.2 kB / 1.18 GB, free: 16.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/1.159, allocations: 57.17 kB / 1.18 GB, free: 16.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/1.16, allocations: 432.6 kB / 1.181 GB, free: 16.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/1.16, allocations: 35.02 kB / 1.181 GB, free: 16.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/1.16, allocations: 235.3 kB / 1.181 GB, free: 16.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/1.16, allocations: 59.17 kB / 1.181 GB, free: 16.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/1.16, allocations: 56.02 kB / 1.181 GB, free: 16.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.16, allocations: 348.6 kB / 1.181 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/1.16, allocations: 73.42 kB / 1.181 GB, free: 15.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/1.161, allocations: 410.3 kB / 1.182 GB, free: 15.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/1.161, allocations: 177.7 kB / 1.182 GB, free: 15.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.161, allocations: 0 / 1.182 GB, free: 15.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000578/1.162, allocations: 256.4 kB / 1.182 GB, free: 15.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.162, allocations: 6.562 kB / 1.182 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.162, allocations: 2.094 kB / 1.182 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/1.162, allocations: 1.5 kB / 1.182 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/1.162, allocations: 55.33 kB / 1.182 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/1.162, allocations: 5.312 kB / 1.182 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/1.162, allocations: 31.02 kB / 1.182 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.162, allocations: 18.45 kB / 1.182 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002898/1.163, allocations: 187.1 kB / 1.182 GB, free: 15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003007/1.163, allocations: 416.1 kB / 1.183 GB, free: 14.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003382/1.163, allocations: 168 kB / 1.183 GB, free: 14.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/1.163, allocations: 0 / 1.183 GB, free: 14.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005056/1.164, allocations: 260.1 kB / 1.183 GB, free: 14.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.164, allocations: 6.531 kB / 1.183 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/1.164, allocations: 1.531 kB / 1.183 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/1.164, allocations: 2.656 kB / 1.183 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/1.164, allocations: 45.59 kB / 1.183 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.164, allocations: 3.031 kB / 1.183 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/1.164, allocations: 39.09 kB / 1.183 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/1.164, allocations: 16.66 kB / 1.183 GB, free: 14.35 MB / 1.076 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 9.403e-05/1.165, allocations: 194.5 kB / 1.184 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/1.165, allocations: 41.66 kB / 1.184 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/1.165, allocations: 243.1 kB / 1.184 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.165, allocations: 1.812 kB / 1.184 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.165, allocations: 0.7969 kB / 1.184 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.165, allocations: 5.953 kB / 1.184 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/1.166, allocations: 0.6056 MB / 1.184 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.166, allocations: 1.062 kB / 1.184 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/1.166, allocations: 31.5 kB / 1.184 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.166, allocations: 7.359 kB / 1.184 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.166, allocations: 2.578 kB / 1.184 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.166, allocations: 2.859 kB / 1.184 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.166, allocations: 6.344 kB / 1.184 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/1.167, allocations: 357.1 kB / 1.185 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.167, allocations: 67.28 kB / 1.185 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/1.167, allocations: 3.016 kB / 1.185 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/1.167, allocations: 16.36 kB / 1.185 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/1.167, allocations: 15.36 kB / 1.185 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/1.167, allocations: 5.406 kB / 1.185 GB, free: 13.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000353/1.168, allocations: 309.3 kB / 1.185 GB, free: 13.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.168, allocations: 4 kB / 1.185 GB, free: 13.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008847/1.169, allocations: 214.3 kB / 1.185 GB, free: 13.12 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 (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.001668/1.17, allocations: 493 kB / 1.186 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007065/1.171, allocations: 266.8 kB / 1.186 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.171, allocations: 0 / 1.186 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/1.171, allocations: 78.67 kB / 1.186 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009763/1.172, allocations: 176.8 kB / 1.186 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/1.174, allocations: 0.7165 MB / 1.187 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/1.174, allocations: 231.9 kB / 1.187 GB, free: 12.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004309/1.174, allocations: 83.05 kB / 1.187 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/1.174, allocations: 39.39 kB / 1.187 GB, free: 12.18 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/1.174, allocations: 0 / 1.187 GB, free: 12.18 MB / 1.076 GB Notification: Performance of Templates: time 0.02137/1.196, allocations: 8.303 MB / 1.195 GB, free: 11.14 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.179711910896003]