Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7646 GB, free: 9.855 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 67.89 kB / 1.11 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.2, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02057/1.22, allocations: 15.8 MB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008406/1.229, allocations: 4.376 MB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007768/1.23, allocations: 23.75 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/1.231, allocations: 274.3 kB / 1.294 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/1.233, allocations: 0.641 MB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/1.235, allocations: 0.7358 MB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00168/1.236, allocations: 1.039 MB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005473/1.237, allocations: 276.4 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009089/1.238, allocations: 442.3 kB / 1.297 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/1.238, allocations: 338.5 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/1.239, allocations: 32 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/1.24, allocations: 0.6434 MB / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/1.24, allocations: 107.5 kB / 1.298 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/1.24, allocations: 226.7 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/1.241, allocations: 0.7664 MB / 1.299 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.241, allocations: 3.984 kB / 1.299 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.241, allocations: 0 / 1.299 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.241, allocations: 0 / 1.299 GB, free: 10.44 MB / 0.9981 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.00143/1.243, allocations: 0.7763 MB / 1.3 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.243, allocations: 8.031 kB / 1.3 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/1.243, allocations: 60.56 kB / 1.3 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/1.244, allocations: 374.6 kB / 1.301 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/1.244, allocations: 24.38 kB / 1.301 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/1.244, allocations: 31.98 kB / 1.301 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/1.244, allocations: 207.2 kB / 1.301 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.244, allocations: 0 / 1.301 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/1.245, allocations: 8 kB / 1.301 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.245, allocations: 4 kB / 1.301 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/1.245, allocations: 173.6 kB / 1.301 GB, free: 8.719 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/1.247, allocations: 0.9073 MB / 1.302 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/1.247, allocations: 126.6 kB / 1.302 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/1.247, allocations: 72.81 kB / 1.302 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/1.247, allocations: 27.97 kB / 1.302 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.247, allocations: 46.5 kB / 1.302 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.247, allocations: 0 / 1.302 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006633/1.248, allocations: 241.3 kB / 1.302 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.248, allocations: 55.41 kB / 1.302 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/1.249, allocations: 474 kB / 1.303 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/1.249, allocations: 29.7 kB / 1.303 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/1.249, allocations: 236.8 kB / 1.303 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/1.249, allocations: 51.58 kB / 1.303 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/1.249, allocations: 57.66 kB / 1.303 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.249, allocations: 354.7 kB / 1.304 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/1.25, allocations: 80.81 kB / 1.304 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/1.25, allocations: 147.6 kB / 1.304 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/1.25, allocations: 172.2 kB / 1.304 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.25, allocations: 0 / 1.304 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005511/1.251, allocations: 257.2 kB / 1.304 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.251, allocations: 4 kB / 1.304 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.251, allocations: 0 / 1.304 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.251, allocations: 4 kB / 1.304 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/1.251, allocations: 47.97 kB / 1.304 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.251, allocations: 0 / 1.304 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/1.251, allocations: 35.86 kB / 1.304 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/1.251, allocations: 11.94 kB / 1.304 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003227/1.252, allocations: 192 kB / 1.305 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002785/1.252, allocations: 164.2 kB / 1.305 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003511/1.252, allocations: 169.7 kB / 1.305 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/1.252, allocations: 0 / 1.305 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005553/1.253, allocations: 257.2 kB / 1.305 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.253, allocations: 6.031 kB / 1.305 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/1.253, allocations: 192 / 1.305 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/1.253, allocations: 4 kB / 1.305 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/1.253, allocations: 47.91 kB / 1.305 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/1.253, allocations: 3.938 kB / 1.305 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/1.253, allocations: 35.92 kB / 1.305 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/1.253, allocations: 23.97 kB / 1.305 GB, free: 4.207 MB / 0.9981 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.0001526/1.254, allocations: 188.2 kB / 1.305 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/1.254, allocations: 47.67 kB / 1.305 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/1.254, allocations: 257 kB / 1.306 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.254, allocations: 4 kB / 1.306 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.254, allocations: 4 kB / 1.306 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.254, allocations: 0 / 1.306 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/1.255, allocations: 0.6724 MB / 1.306 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.255, allocations: 0 / 1.306 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.256, allocations: 36.05 kB / 1.306 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.256, allocations: 4 kB / 1.306 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/1.256, allocations: 11.98 kB / 1.306 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.256, allocations: 11.88 kB / 1.306 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.256, allocations: 0 / 1.306 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/1.256, allocations: 356.7 kB / 1.307 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.256, allocations: 59.62 kB / 1.307 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/1.256, allocations: 8 kB / 1.307 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/1.257, allocations: 16.09 kB / 1.307 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/1.257, allocations: 15.98 kB / 1.307 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/1.257, allocations: 11.98 kB / 1.307 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004675/1.257, allocations: 334.9 kB / 1.307 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.257, allocations: 0 / 1.307 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006995/1.258, allocations: 199.6 kB / 1.307 GB, free: 1.906 MB / 0.9981 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.001784/1.26, allocations: 483.1 kB / 1.308 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006921/1.26, allocations: 258.2 kB / 1.308 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.26, allocations: 0 / 1.308 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/1.261, allocations: 87.95 kB / 1.308 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/1.262, allocations: 205.2 kB / 1.308 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/1.263, allocations: 0.7166 MB / 1.309 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/1.264, allocations: 0.8308 MB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002785/1.264, allocations: 83.52 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/1.264, allocations: 39.42 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.264, allocations: 4 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of Templates: time 0.01871/1.283, allocations: 8.656 MB / 1.318 GB, free: 6.766 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.54294908605516]