Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001454/0.001454, 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.001685/0.001685, allocations: 186.5 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.536/1.536, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.525/3.525, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.42 kB / 1.145 GB, free: 30.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4911, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02288/0.514, allocations: 17.75 MB / 1.333 GB, free: 7.867 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009184/0.5232, allocations: 4.96 MB / 1.338 GB, free: 2.891 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009071/0.5241, allocations: 19.81 kB / 1.338 GB, free: 2.871 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.5252, allocations: 262.3 kB / 1.338 GB, free: 2.613 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.5274, allocations: 0.6414 MB / 1.339 GB, free: 1.969 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.5299, allocations: 0.7579 MB / 1.34 GB, free: 1.219 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.5317, allocations: 0.9663 MB / 1.341 GB, free: 252 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.5323, allocations: 289.5 kB / 1.341 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.5334, allocations: 482 kB / 1.342 GB, free: 15.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.534, allocations: 322.6 kB / 1.342 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.534, allocations: 32 kB / 1.342 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.5357, allocations: 0.7526 MB / 1.343 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.5359, allocations: 139.4 kB / 1.343 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.5362, allocations: 234.7 kB / 1.343 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.5378, allocations: 0.8873 MB / 1.344 GB, free: 13.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5378, allocations: 0 / 1.344 GB, free: 13.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5378, allocations: 0 / 1.344 GB, free: 13.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.5378, allocations: 4 kB / 1.344 GB, free: 13.12 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001417/0.5393, allocations: 0.8073 MB / 1.345 GB, free: 12.28 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5393, allocations: 12.03 kB / 1.345 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.5395, allocations: 60.56 kB / 1.345 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.5404, allocations: 418.8 kB / 1.345 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.5404, allocations: 24.44 kB / 1.345 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.5404, allocations: 28 kB / 1.345 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.541, allocations: 285.3 kB / 1.345 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5411, allocations: 0 / 1.345 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.5411, allocations: 15.98 kB / 1.345 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.5411, allocations: 4 kB / 1.345 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.5415, allocations: 189.8 kB / 1.346 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.5439, allocations: 1.441 MB / 1.347 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.5442, allocations: 150.8 kB / 1.347 GB, free: 9.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.5444, allocations: 76.81 kB / 1.347 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.5459, allocations: 0.5855 MB / 1.348 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.5459, allocations: 34.5 kB / 1.348 GB, free: 8.789 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.5459, allocations: 0 / 1.348 GB, free: 8.789 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007359/0.5466, allocations: 241.2 kB / 1.348 GB, free: 8.547 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.5467, allocations: 63.33 kB / 1.348 GB, free: 8.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.5475, allocations: 0.5731 MB / 1.349 GB, free: 7.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.5475, allocations: 37.7 kB / 1.349 GB, free: 7.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.5479, allocations: 268.5 kB / 1.349 GB, free: 7.582 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.5479, allocations: 59.48 kB / 1.349 GB, free: 7.523 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.5481, allocations: 69.97 kB / 1.349 GB, free: 7.445 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000283/0.5483, allocations: 358.8 kB / 1.349 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.5485, allocations: 81.94 kB / 1.35 GB, free: 7.004 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.5489, allocations: 219.8 kB / 1.35 GB, free: 6.742 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.5494, allocations: 234.9 kB / 1.35 GB, free: 6.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5494, allocations: 0 / 1.35 GB, free: 6.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006964/0.5501, allocations: 310.7 kB / 1.35 GB, free: 6.172 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.5501, allocations: 12.19 kB / 1.35 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5501, allocations: 4 kB / 1.35 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.5502, allocations: 4 kB / 1.35 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.5504, allocations: 67.89 kB / 1.35 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.5505, allocations: 4 kB / 1.35 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.5508, allocations: 47.72 kB / 1.35 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.5508, allocations: 19.98 kB / 1.35 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003745/0.5512, allocations: 212.6 kB / 1.351 GB, free: 5.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003429/0.5516, allocations: 206.4 kB / 1.351 GB, free: 5.555 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004504/0.552, allocations: 230.6 kB / 1.351 GB, free: 5.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.028e-06/0.552, allocations: 4 kB / 1.351 GB, free: 5.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006245/0.5526, allocations: 306.4 kB / 1.351 GB, free: 4.988 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5526, allocations: 8.25 kB / 1.351 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5527, allocations: 7.938 kB / 1.351 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.5527, allocations: 8 kB / 1.351 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.5529, allocations: 59.91 kB / 1.351 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.5529, allocations: 7.938 kB / 1.351 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.5533, allocations: 39.81 kB / 1.351 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.5533, allocations: 15.94 kB / 1.351 GB, free: 4.844 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001925/0.5535, allocations: 200.1 kB / 1.352 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5536, allocations: 55.61 kB / 1.352 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000695/0.5543, allocations: 261.6 kB / 1.352 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.5543, allocations: 0 / 1.352 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5543, allocations: 0 / 1.352 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5543, allocations: 4.172 kB / 1.352 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.5556, allocations: 0.7035 MB / 1.353 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5556, allocations: 7.875 kB / 1.353 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.5557, allocations: 31.97 kB / 1.353 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5557, allocations: 4 kB / 1.353 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5557, allocations: 4 kB / 1.353 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.5557, allocations: 4 kB / 1.353 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5557, allocations: 4.125 kB / 1.353 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.5563, allocations: 358.5 kB / 1.353 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5565, allocations: 79.59 kB / 1.353 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.5565, allocations: 0 / 1.353 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.5567, allocations: 15.98 kB / 1.353 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.5568, allocations: 11.92 kB / 1.353 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.5568, allocations: 19.98 kB / 1.353 GB, free: 3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005932/0.5574, allocations: 414.8 kB / 1.354 GB, free: 2.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5574, allocations: 0 / 1.354 GB, free: 2.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009695/0.5584, allocations: 235.5 kB / 1.354 GB, free: 2.367 MB / 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 (17): * Single equations (assignments): 15 * 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.00182/0.5602, allocations: 0.491 MB / 1.354 GB, free: 2.008 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007895/0.561, allocations: 306.4 kB / 1.355 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.561, allocations: 0 / 1.355 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.5612, allocations: 87.95 kB / 1.355 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.5624, allocations: 245.8 kB / 1.355 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.5642, allocations: 0.8034 MB / 1.356 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/0.5649, allocations: 0.8467 MB / 1.356 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.5653, allocations: 104.6 kB / 1.357 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5654, allocations: 39.44 kB / 1.357 GB, free: 15.52 MB / 1.061 GB Notification: Performance of SimCode: time 1.523e-06/0.5654, allocations: 4 kB / 1.357 GB, free: 15.52 MB / 1.061 GB Notification: Performance of Templates: time 0.02315/0.5886, allocations: 10.41 MB / 1.367 GB, free: 5.254 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.515158095397055]