Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002125/0.002125, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.003275/0.003275, allocations: 189.4 kB / 22.23 MB, free: 5.133 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.518/1.518, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 443.5 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.89 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 160.8 MB / 1.218 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02196/1.138, allocations: 15.81 MB / 1.234 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008251/1.146, allocations: 4.376 MB / 1.238 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009124/1.147, allocations: 19.81 kB / 1.238 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/1.148, allocations: 270.3 kB / 1.238 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/1.151, allocations: 0.6466 MB / 1.239 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/1.153, allocations: 0.7308 MB / 1.24 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001791/1.155, allocations: 1.056 MB / 1.241 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/1.155, allocations: 272.4 kB / 1.241 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009451/1.156, allocations: 442.3 kB / 1.242 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/1.157, allocations: 330.5 kB / 1.242 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/1.157, allocations: 24 kB / 1.242 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/1.158, allocations: 0.6551 MB / 1.242 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/1.158, allocations: 107.5 kB / 1.243 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002762/1.159, allocations: 226.7 kB / 1.243 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/1.16, allocations: 0.7731 MB / 1.244 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.16, allocations: 0 / 1.244 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/1.16, allocations: 0 / 1.244 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.118e-06/1.16, allocations: 0 / 1.244 GB, free: 13.5 MB / 0.9512 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.001455/1.162, allocations: 0.8476 MB / 1.244 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.162, allocations: 12.02 kB / 1.244 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/1.162, allocations: 60.61 kB / 1.244 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/1.163, allocations: 429.9 kB / 1.245 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.163, allocations: 20.44 kB / 1.245 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/1.163, allocations: 32 kB / 1.245 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/1.163, allocations: 219.1 kB / 1.245 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.163, allocations: 0 / 1.245 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/1.163, allocations: 12 kB / 1.245 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.163, allocations: 4 kB / 1.245 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/1.164, allocations: 161.6 kB / 1.245 GB, free: 11.63 MB / 0.9512 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.001793/1.165, allocations: 0.946 MB / 1.246 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/1.166, allocations: 130.5 kB / 1.246 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/1.166, allocations: 68.81 kB / 1.246 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/1.166, allocations: 336.4 kB / 1.247 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.166, allocations: 34.56 kB / 1.247 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/1.166, allocations: 4 kB / 1.247 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006749/1.167, allocations: 242.6 kB / 1.247 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.167, allocations: 55.41 kB / 1.247 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/1.168, allocations: 474 kB / 1.248 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/1.168, allocations: 29.7 kB / 1.248 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/1.168, allocations: 236.7 kB / 1.248 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/1.168, allocations: 47.64 kB / 1.248 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.168, allocations: 61.59 kB / 1.248 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.168, allocations: 358.7 kB / 1.248 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/1.168, allocations: 72.81 kB / 1.248 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/1.169, allocations: 147.7 kB / 1.248 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/1.169, allocations: 158.4 kB / 1.249 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.169, allocations: 4 kB / 1.249 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005631/1.17, allocations: 259.5 kB / 1.249 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.17, allocations: 8 kB / 1.249 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.17, allocations: 4 kB / 1.249 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.17, allocations: 0 / 1.249 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/1.17, allocations: 51.91 kB / 1.249 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.17, allocations: 0 / 1.249 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/1.17, allocations: 39.89 kB / 1.249 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/1.17, allocations: 11.94 kB / 1.249 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003089/1.171, allocations: 184.1 kB / 1.249 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000278/1.171, allocations: 171.7 kB / 1.249 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003808/1.171, allocations: 180.1 kB / 1.249 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/1.171, allocations: 0 / 1.249 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000525/1.172, allocations: 258.7 kB / 1.25 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.172, allocations: 4 kB / 1.25 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.172, allocations: 4 kB / 1.25 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-06/1.172, allocations: 4.062 kB / 1.25 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/1.172, allocations: 47.91 kB / 1.25 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/1.172, allocations: 0 / 1.25 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/1.172, allocations: 35.86 kB / 1.25 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/1.172, allocations: 15.98 kB / 1.25 GB, free: 6.695 MB / 0.9512 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.0001556/1.173, allocations: 196.1 kB / 1.25 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/1.173, allocations: 43.72 kB / 1.25 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/1.173, allocations: 257.1 kB / 1.25 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.173, allocations: 4 kB / 1.25 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.173, allocations: 0 / 1.25 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.173, allocations: 0 / 1.25 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.174, allocations: 0.7045 MB / 1.251 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.174, allocations: 4 kB / 1.251 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.174, allocations: 31.91 kB / 1.251 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/1.174, allocations: 4 kB / 1.251 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.175, allocations: 4 kB / 1.251 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.175, allocations: 7.938 kB / 1.251 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.175, allocations: 0 / 1.251 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/1.175, allocations: 355.5 kB / 1.251 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/1.175, allocations: 144.7 kB / 1.251 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/1.175, allocations: 8 kB / 1.251 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/1.175, allocations: 19.92 kB / 1.252 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/1.176, allocations: 19.97 kB / 1.252 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/1.176, allocations: 4 kB / 1.252 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004167/1.176, allocations: 334.9 kB / 1.252 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/1.176, allocations: 0 / 1.252 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007261/1.177, allocations: 203.6 kB / 1.252 GB, free: 4.266 MB / 0.9512 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.001647/1.178, allocations: 474.5 kB / 1.253 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007331/1.179, allocations: 267.9 kB / 1.253 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.179, allocations: 0 / 1.253 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/1.179, allocations: 79.83 kB / 1.253 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.18, allocations: 213 kB / 1.253 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/1.182, allocations: 0.7166 MB / 1.254 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/1.182, allocations: 0.823 MB / 1.255 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003326/1.183, allocations: 87.14 kB / 1.255 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/1.183, allocations: 39.44 kB / 1.255 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/1.183, allocations: 0 / 1.255 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of Templates: time 0.01888/1.202, allocations: 8.653 MB / 1.263 GB, free: 9.125 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.803746066056192]