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.001291/0.001291, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001504/0.001504, allocations: 210.5 kB / 22.99 MB, free: 4.984 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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 3.429/3.429, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 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.002619/0.002619, allocations: 63.66 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.5494, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0214/0.5708, allocations: 14.51 MB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.579, allocations: 4.109 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/0.5797, allocations: 23.75 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.5809, allocations: 262.4 kB / 1.346 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.5831, allocations: 0.6686 MB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.5854, allocations: 0.7254 MB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.5872, allocations: 1.044 MB / 1.348 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.5878, allocations: 269.2 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.5888, allocations: 0.4942 MB / 1.349 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.5893, allocations: 314.6 kB / 1.349 GB, free: 10.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.5894, allocations: 31.94 kB / 1.349 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5906, allocations: 0.5576 MB / 1.35 GB, free: 9.898 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.5908, allocations: 107.6 kB / 1.35 GB, free: 9.793 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.591, allocations: 186.9 kB / 1.35 GB, free: 9.609 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.5923, allocations: 0.7588 MB / 1.351 GB, free: 8.848 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.5923, allocations: 0 / 1.351 GB, free: 8.848 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5923, allocations: 0 / 1.351 GB, free: 8.848 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.5923, allocations: 0 / 1.351 GB, free: 8.848 MB / 1.045 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.001516/0.5938, allocations: 0.7763 MB / 1.351 GB, free: 8.035 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5939, allocations: 8.031 kB / 1.351 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.594, allocations: 56.61 kB / 1.351 GB, free: 7.973 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.5948, allocations: 370.7 kB / 1.352 GB, free: 7.586 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.5949, allocations: 20.44 kB / 1.352 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/0.5949, allocations: 27.94 kB / 1.352 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.5954, allocations: 215.2 kB / 1.352 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5954, allocations: 0 / 1.352 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.5954, allocations: 8 kB / 1.352 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5954, allocations: 12 kB / 1.352 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.5959, allocations: 161.6 kB / 1.352 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.5975, allocations: 0.6983 MB / 1.353 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.5978, allocations: 126.5 kB / 1.353 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.598, allocations: 72.8 kB / 1.353 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.5981, allocations: 31.97 kB / 1.353 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.5982, allocations: 42.56 kB / 1.353 GB, free: 6.121 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.5982, allocations: 0 / 1.353 GB, free: 6.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006681/0.5988, allocations: 231.3 kB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.5989, allocations: 59.34 kB / 1.353 GB, free: 5.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.5994, allocations: 433.9 kB / 1.354 GB, free: 5.391 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.5995, allocations: 29.7 kB / 1.354 GB, free: 5.355 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.5997, allocations: 236.6 kB / 1.354 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.5998, allocations: 59.59 kB / 1.354 GB, free: 5.062 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.5999, allocations: 61.7 kB / 1.354 GB, free: 4.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.6001, allocations: 350.8 kB / 1.354 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.6003, allocations: 76.81 kB / 1.355 GB, free: 4.566 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.6008, allocations: 407.3 kB / 1.355 GB, free: 4.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.6012, allocations: 168 kB / 1.355 GB, free: 3.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6012, allocations: 0 / 1.355 GB, free: 3.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005747/0.6018, allocations: 262.7 kB / 1.355 GB, free: 3.648 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6018, allocations: 4 kB / 1.355 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6018, allocations: 0 / 1.355 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.6018, allocations: 4 kB / 1.355 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.6021, allocations: 51.91 kB / 1.355 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6021, allocations: 0 / 1.355 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.6024, allocations: 31.95 kB / 1.355 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.6024, allocations: 11.94 kB / 1.355 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003244/0.6028, allocations: 192.1 kB / 1.356 GB, free: 3.355 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004242/0.6032, allocations: 418.4 kB / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003633/0.6035, allocations: 169.2 kB / 1.356 GB, free: 2.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.6035, allocations: 0 / 1.356 GB, free: 2.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005524/0.6041, allocations: 261.3 kB / 1.356 GB, free: 2.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.6041, allocations: 4 kB / 1.356 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.6041, allocations: 4 kB / 1.356 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-06/0.6041, allocations: 0 / 1.356 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.6043, allocations: 47.91 kB / 1.356 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.6044, allocations: 0 / 1.356 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.6047, allocations: 31.92 kB / 1.357 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.6047, allocations: 12 kB / 1.357 GB, free: 2.312 MB / 1.045 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.0001485/0.6049, allocations: 200.2 kB / 1.357 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.6049, allocations: 43.72 kB / 1.357 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.6055, allocations: 250.7 kB / 1.357 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.6056, allocations: 0 / 1.357 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6056, allocations: 4 kB / 1.357 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6056, allocations: 0 / 1.357 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.6067, allocations: 0.6277 MB / 1.358 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.6067, allocations: 3.938 kB / 1.358 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.6068, allocations: 27.98 kB / 1.358 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6068, allocations: 0 / 1.358 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.6068, allocations: 11.98 kB / 1.358 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6068, allocations: 0 / 1.358 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6068, allocations: 4 kB / 1.358 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.6074, allocations: 346.5 kB / 1.358 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.6075, allocations: 55.67 kB / 1.358 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.6076, allocations: 4 kB / 1.358 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.6078, allocations: 19.97 kB / 1.358 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.6079, allocations: 11.92 kB / 1.358 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.6079, allocations: 12 kB / 1.358 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003968/0.6083, allocations: 303.1 kB / 1.358 GB, free: 332 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.6083, allocations: 0 / 1.358 GB, free: 332 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007745/0.609, allocations: 211.5 kB / 1.359 GB, free: 120 kB / 1.045 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.001808/0.6109, allocations: 493.4 kB / 1.359 GB, free: 15.78 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007417/0.6116, allocations: 265.8 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6116, allocations: 0 / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.6118, allocations: 83.83 kB / 1.359 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6128, allocations: 174.9 kB / 1.36 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6143, allocations: 0.7127 MB / 1.36 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.6145, allocations: 227.6 kB / 1.36 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002963/0.6148, allocations: 83.52 kB / 1.361 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.6149, allocations: 39.44 kB / 1.361 GB, free: 14.16 MB / 1.061 GB Notification: Performance of SimCode: time 6.22e-07/0.6149, allocations: 0 / 1.361 GB, free: 14.16 MB / 1.061 GB Notification: Performance of Templates: time 0.02667/0.6416, allocations: 8.924 MB / 1.369 GB, free: 5.43 MB / 1.061 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 cvode -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.499133796009119]