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.002132/0.002132, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002406/0.002406, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.484/3.484, allocations: 0.4899 GB / 0.7916 GB, free: 33.38 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.003226/0.003226, allocations: 72.8 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3777, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02035/0.3981, allocations: 15.73 MB / 1.337 GB, free: 3.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007243/0.4053, allocations: 4.439 MB / 1.341 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.4057, allocations: 23.81 kB / 1.341 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009007/0.4066, allocations: 266.3 kB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.4083, allocations: 0.6777 MB / 1.342 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.4103, allocations: 0.705 MB / 1.343 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4119, allocations: 1.025 MB / 1.344 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.4124, allocations: 284.8 kB / 1.344 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009956/0.4134, allocations: 494.1 kB / 1.344 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.4141, allocations: 322.5 kB / 1.345 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4142, allocations: 35.92 kB / 1.345 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.4156, allocations: 0.6356 MB / 1.345 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.4158, allocations: 99.55 kB / 1.345 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.4161, allocations: 234.7 kB / 1.346 GB, free: 9.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.4177, allocations: 0.7666 MB / 1.346 GB, free: 9.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4177, allocations: 0 / 1.346 GB, free: 9.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4177, allocations: 4 kB / 1.346 GB, free: 9.016 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.4177, allocations: 0 / 1.346 GB, free: 9.016 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.001963/0.4197, allocations: 0.8399 MB / 1.347 GB, free: 8.121 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4197, allocations: 15.98 kB / 1.347 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.4199, allocations: 56.61 kB / 1.347 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008711/0.4208, allocations: 445.8 kB / 1.348 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.4208, allocations: 20.44 kB / 1.348 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.4208, allocations: 24 kB / 1.348 GB, free: 7.535 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.4214, allocations: 223.2 kB / 1.348 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4214, allocations: 0 / 1.348 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.4214, allocations: 4 kB / 1.348 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4214, allocations: 8 kB / 1.348 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.4218, allocations: 165.6 kB / 1.348 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.4237, allocations: 0.9421 MB / 1.349 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.424, allocations: 126.6 kB / 1.349 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.4242, allocations: 68.81 kB / 1.349 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.4245, allocations: 336.4 kB / 1.35 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.4246, allocations: 30.56 kB / 1.35 GB, free: 5.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.4246, allocations: 0 / 1.35 GB, free: 5.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0007378/0.4253, allocations: 245.2 kB / 1.35 GB, free: 5.227 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.4253, allocations: 55.41 kB / 1.35 GB, free: 5.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.4259, allocations: 470 kB / 1.35 GB, free: 4.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.426, allocations: 29.7 kB / 1.35 GB, free: 4.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.4262, allocations: 232.7 kB / 1.351 GB, free: 4.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.4262, allocations: 59.59 kB / 1.351 GB, free: 4.367 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4263, allocations: 53.7 kB / 1.351 GB, free: 4.309 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4265, allocations: 362.7 kB / 1.351 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.4267, allocations: 68.81 kB / 1.351 GB, free: 3.875 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.427, allocations: 155.6 kB / 1.351 GB, free: 3.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.4274, allocations: 160.1 kB / 1.351 GB, free: 3.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4274, allocations: 3.938 kB / 1.351 GB, free: 3.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006203/0.4281, allocations: 265.2 kB / 1.352 GB, free: 3.262 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4281, allocations: 9.969 kB / 1.352 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4281, allocations: 0 / 1.352 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.4281, allocations: 8.094 kB / 1.352 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.4284, allocations: 43.91 kB / 1.352 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4284, allocations: 4 kB / 1.352 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.4288, allocations: 35.81 kB / 1.352 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.4288, allocations: 8 kB / 1.352 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003486/0.4291, allocations: 194.9 kB / 1.352 GB, free: 2.965 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000296/0.4294, allocations: 163.1 kB / 1.352 GB, free: 2.773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004209/0.4299, allocations: 176.1 kB / 1.352 GB, free: 2.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.4299, allocations: 0 / 1.352 GB, free: 2.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0006181/0.4305, allocations: 251.7 kB / 1.352 GB, free: 2.336 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4305, allocations: 8 kB / 1.352 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.4305, allocations: 0 / 1.352 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.211e-06/0.4305, allocations: 4 kB / 1.352 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4307, allocations: 40.03 kB / 1.353 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4307, allocations: 11.94 kB / 1.353 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.4311, allocations: 39.86 kB / 1.353 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4311, allocations: 11.98 kB / 1.353 GB, free: 2.223 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.0002024/0.4313, allocations: 192.2 kB / 1.353 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4314, allocations: 43.72 kB / 1.353 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/0.4321, allocations: 249.2 kB / 1.353 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4321, allocations: 4 kB / 1.353 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4321, allocations: 4 kB / 1.353 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4321, allocations: 0 / 1.353 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.4334, allocations: 0.7044 MB / 1.354 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.4334, allocations: 0 / 1.354 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.4335, allocations: 39.91 kB / 1.354 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4335, allocations: 4 kB / 1.354 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4335, allocations: 0 / 1.354 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.4335, allocations: 7.938 kB / 1.354 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4335, allocations: 0 / 1.354 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.4341, allocations: 344.8 kB / 1.354 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.4342, allocations: 136.8 kB / 1.354 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.4343, allocations: 11.94 kB / 1.354 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.4345, allocations: 15.92 kB / 1.354 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.4346, allocations: 15.98 kB / 1.354 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.4346, allocations: 4.141 kB / 1.354 GB, free: 348 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004115/0.435, allocations: 338.9 kB / 1.355 GB, free: 12 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.435, allocations: 0 / 1.355 GB, free: 12 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007904/0.4358, allocations: 195.7 kB / 1.355 GB, free: 15.82 MB / 1.061 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.001915/0.4377, allocations: 473 kB / 1.355 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.4384, allocations: 255.8 kB / 1.355 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4384, allocations: 4.125 kB / 1.355 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.4386, allocations: 87.83 kB / 1.356 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.4397, allocations: 212 kB / 1.356 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.4411, allocations: 0.7143 MB / 1.356 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.4416, allocations: 0.8309 MB / 1.357 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002763/0.4419, allocations: 75.25 kB / 1.357 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.442, allocations: 39.42 kB / 1.357 GB, free: 13.21 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.442, allocations: 0 / 1.357 GB, free: 13.21 MB / 1.061 GB Notification: Performance of Templates: time 0.01833/0.4603, allocations: 8.57 MB / 1.366 GB, free: 4.766 MB / 1.061 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: 9.785344585776329]