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.0008313/0.0008313, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008687/0.0008687, allocations: 177.9 kB / 23.22 MB, free: 1.344 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.9216/0.9216, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.752/1.752, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.073e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01022/0.01024, allocations: 14.4 MB / 0.9963 GB, free: 3.633 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003868/0.0141, allocations: 4.131 MB / 1 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.01432, allocations: 27.75 kB / 1 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.01499, allocations: 258.2 kB / 1.001 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.0158, allocations: 0.703 MB / 1.001 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008922/0.01669, allocations: 0.7423 MB / 1.002 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007563/0.01745, allocations: 1.04 MB / 1.003 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.01775, allocations: 276.4 kB / 1.003 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.0183, allocations: 0.6035 MB / 1.004 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.01854, allocations: 271.2 kB / 1.004 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.01859, allocations: 28 kB / 1.004 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.01925, allocations: 0.5378 MB / 1.005 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.01933, allocations: 111.5 kB / 1.005 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.01944, allocations: 155.4 kB / 1.005 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.02011, allocations: 0.7749 MB / 1.006 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.02012, allocations: 4 kB / 1.006 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.073e-06/0.02012, allocations: 0 / 1.006 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.02012, allocations: 0 / 1.006 GB, free: 9.961 MB / 0.9636 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.0008118/0.02093, allocations: 0.7685 MB / 1.006 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.02097, allocations: 12.03 kB / 1.006 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.02104, allocations: 56.61 kB / 1.006 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.02147, allocations: 366.3 kB / 1.007 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.02149, allocations: 24.88 kB / 1.007 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.02151, allocations: 27.94 kB / 1.007 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.02179, allocations: 216 kB / 1.007 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.0218, allocations: 0 / 1.007 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.02183, allocations: 12 kB / 1.007 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.02183, allocations: 7.984 kB / 1.007 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.02205, allocations: 161.9 kB / 1.007 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.02295, allocations: 0.6909 MB / 1.008 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.02313, allocations: 122.6 kB / 1.008 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.02322, allocations: 68.75 kB / 1.008 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.469e-05/0.02331, allocations: 35.92 kB / 1.008 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.02333, allocations: 34.56 kB / 1.008 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.02333, allocations: 0 / 1.008 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0003765/0.02371, allocations: 238.3 kB / 1.008 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.02374, allocations: 59.41 kB / 1.008 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.02405, allocations: 437.8 kB / 1.009 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.02407, allocations: 33.7 kB / 1.009 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.02419, allocations: 236.7 kB / 1.009 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.02422, allocations: 51.59 kB / 1.009 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.02428, allocations: 53.7 kB / 1.009 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.02436, allocations: 350.7 kB / 1.01 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.02447, allocations: 80.69 kB / 1.01 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.02468, allocations: 411.1 kB / 1.01 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.02489, allocations: 174.3 kB / 1.01 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.02489, allocations: 0 / 1.01 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002899/0.02518, allocations: 259.6 kB / 1.01 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.0252, allocations: 4 kB / 1.01 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.0252, allocations: 0 / 1.01 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.02521, allocations: 4 kB / 1.01 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.02534, allocations: 47.97 kB / 1.011 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.02534, allocations: 7.938 kB / 1.011 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.02548, allocations: 31.95 kB / 1.011 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.0255, allocations: 8 kB / 1.011 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000174/0.02567, allocations: 192.1 kB / 1.011 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002258/0.0259, allocations: 410.4 kB / 1.011 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003273/0.02622, allocations: 183.6 kB / 1.011 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.02623, allocations: 0 / 1.011 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002892/0.02651, allocations: 253.2 kB / 1.012 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.02652, allocations: 7.938 kB / 1.012 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.02652, allocations: 0 / 1.012 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-06/0.02653, allocations: 4 kB / 1.012 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.02662, allocations: 47.97 kB / 1.012 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.02663, allocations: 4 kB / 1.012 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.02678, allocations: 35.86 kB / 1.012 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.02679, allocations: 12 kB / 1.012 GB, free: 3.434 MB / 0.9636 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 7.073e-05/0.02686, allocations: 192.7 kB / 1.012 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.0269, allocations: 43.7 kB / 1.012 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.02721, allocations: 256.9 kB / 1.012 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.02722, allocations: 0 / 1.012 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02722, allocations: 0 / 1.012 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.02722, allocations: 3.938 kB / 1.012 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.02777, allocations: 0.6105 MB / 1.013 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.02778, allocations: 0 / 1.013 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.02784, allocations: 32.05 kB / 1.013 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.02784, allocations: 4 kB / 1.013 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.02785, allocations: 11.98 kB / 1.013 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.02785, allocations: 0 / 1.013 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02786, allocations: 4 kB / 1.013 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.02811, allocations: 344.8 kB / 1.013 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.02818, allocations: 55.69 kB / 1.013 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.0282, allocations: 12.19 kB / 1.013 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.0283, allocations: 19.97 kB / 1.013 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.02834, allocations: 15.92 kB / 1.013 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.02835, allocations: 7.938 kB / 1.013 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000205/0.02855, allocations: 311.1 kB / 1.014 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02855, allocations: 0 / 1.014 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003916/0.02894, allocations: 207.5 kB / 1.014 GB, free: 1.25 MB / 0.9636 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.000759/0.0297, allocations: 497.8 kB / 1.014 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.03007, allocations: 251.7 kB / 1.014 GB, free: 0.6602 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03008, allocations: 4 kB / 1.014 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.03019, allocations: 88.14 kB / 1.015 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.03069, allocations: 172.8 kB / 1.015 GB, free: 424 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.03146, allocations: 0.7172 MB / 1.015 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.0316, allocations: 231.7 kB / 1.016 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.03166, allocations: 36.5 kB / 1.016 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/0.03166, allocations: 0 / 1.016 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of Templates: time 0.006286/0.03794, allocations: 7.283 MB / 1.023 GB, free: 8.145 MB / 0.9792 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.920556110329926]