Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00167/0.00167, 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.002634/0.002634, allocations: 188.2 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.781/1.781, 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 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.457/3.457, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 76.19 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4675, allocations: 174.8 MB / 1.316 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02193/0.4894, allocations: 15.77 MB / 1.331 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009046/0.4985, allocations: 4.323 MB / 1.336 GB, free: 5.539 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.4997, allocations: 23.75 kB / 1.336 GB, free: 5.516 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.501, allocations: 270.4 kB / 1.336 GB, free: 5.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.5031, allocations: 0.6335 MB / 1.337 GB, free: 4.613 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.5054, allocations: 0.7265 MB / 1.337 GB, free: 3.895 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.5071, allocations: 1.025 MB / 1.338 GB, free: 2.867 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.5077, allocations: 280.4 kB / 1.339 GB, free: 2.582 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.5087, allocations: 486.1 kB / 1.339 GB, free: 2.105 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.5092, allocations: 314.6 kB / 1.339 GB, free: 1.797 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.5093, allocations: 28 kB / 1.339 GB, free: 1.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.5106, allocations: 0.6551 MB / 1.34 GB, free: 1.113 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.5107, allocations: 107.5 kB / 1.34 GB, free: 1.008 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.511, allocations: 218.8 kB / 1.34 GB, free: 0.793 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.5122, allocations: 0.7589 MB / 1.341 GB, free: 32 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5122, allocations: 0 / 1.341 GB, free: 32 kB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5122, allocations: 3.938 kB / 1.341 GB, free: 28 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.5122, allocations: 0 / 1.341 GB, free: 28 kB / 1.029 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.001393/0.5136, allocations: 0.7723 MB / 1.342 GB, free: 15.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5137, allocations: 12.03 kB / 1.342 GB, free: 15.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.5138, allocations: 52.61 kB / 1.342 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.5146, allocations: 374.7 kB / 1.342 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.5146, allocations: 24.38 kB / 1.342 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.5147, allocations: 24 kB / 1.342 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.5152, allocations: 211.2 kB / 1.342 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5152, allocations: 0 / 1.342 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.5152, allocations: 12 kB / 1.342 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.5152, allocations: 7.984 kB / 1.342 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.5156, allocations: 165.6 kB / 1.343 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.5173, allocations: 0.9034 MB / 1.343 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.5176, allocations: 130.5 kB / 1.344 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.5178, allocations: 64.81 kB / 1.344 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.518, allocations: 35.92 kB / 1.344 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.518, allocations: 42.56 kB / 1.344 GB, free: 13.06 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.518, allocations: 0 / 1.344 GB, free: 13.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006556/0.5187, allocations: 240.5 kB / 1.344 GB, free: 12.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.5187, allocations: 55.34 kB / 1.344 GB, free: 12.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.5193, allocations: 457.9 kB / 1.344 GB, free: 12.3 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.5193, allocations: 37.7 kB / 1.344 GB, free: 12.26 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5195, allocations: 232.7 kB / 1.345 GB, free: 12.03 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.5196, allocations: 47.59 kB / 1.345 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.5197, allocations: 57.66 kB / 1.345 GB, free: 11.92 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5199, allocations: 358.7 kB / 1.345 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.5201, allocations: 68.81 kB / 1.345 GB, free: 11.49 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.5203, allocations: 149.3 kB / 1.345 GB, free: 11.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.5207, allocations: 171.8 kB / 1.346 GB, free: 11.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5207, allocations: 0 / 1.346 GB, free: 11.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005273/0.5212, allocations: 255.7 kB / 1.346 GB, free: 10.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.5213, allocations: 8 kB / 1.346 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5213, allocations: 0 / 1.346 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5213, allocations: 0 / 1.346 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.5215, allocations: 47.91 kB / 1.346 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5215, allocations: 4 kB / 1.346 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.5218, allocations: 43.75 kB / 1.346 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.5219, allocations: 12 kB / 1.346 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003114/0.5222, allocations: 188.1 kB / 1.346 GB, free: 10.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002984/0.5225, allocations: 163.3 kB / 1.346 GB, free: 10.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003811/0.5228, allocations: 176.1 kB / 1.346 GB, free: 10.21 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.5228, allocations: 0 / 1.346 GB, free: 10.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005354/0.5234, allocations: 257.3 kB / 1.347 GB, free: 9.953 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.5234, allocations: 4 kB / 1.347 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5234, allocations: 4 kB / 1.347 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/0.5234, allocations: 0 / 1.347 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.5236, allocations: 51.91 kB / 1.347 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5236, allocations: 7.938 kB / 1.347 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.5239, allocations: 31.91 kB / 1.347 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.524, allocations: 11.98 kB / 1.347 GB, free: 9.844 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.0002277/0.5242, allocations: 204.9 kB / 1.347 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.5243, allocations: 39.72 kB / 1.347 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.5249, allocations: 245.1 kB / 1.347 GB, free: 9.352 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.525, allocations: 4 kB / 1.347 GB, free: 9.348 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.525, allocations: 0 / 1.347 GB, free: 9.348 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.525, allocations: 0 / 1.347 GB, free: 9.348 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.5262, allocations: 0.6831 MB / 1.348 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5262, allocations: 0 / 1.348 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.5263, allocations: 27.98 kB / 1.348 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5263, allocations: 4 kB / 1.348 GB, free: 8.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5263, allocations: 12.12 kB / 1.348 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.5263, allocations: 7.938 kB / 1.348 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5263, allocations: 0 / 1.348 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.5269, allocations: 352.2 kB / 1.348 GB, free: 8.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.527, allocations: 67.61 kB / 1.348 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.5271, allocations: 4 kB / 1.348 GB, free: 8.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.5273, allocations: 15.92 kB / 1.348 GB, free: 8.098 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.5274, allocations: 15.97 kB / 1.348 GB, free: 8.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.5274, allocations: 8 kB / 1.348 GB, free: 8.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000444/0.5278, allocations: 323.1 kB / 1.349 GB, free: 7.758 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.5278, allocations: 4 kB / 1.349 GB, free: 7.754 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007884/0.5286, allocations: 199.6 kB / 1.349 GB, free: 7.559 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 (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.001828/0.5305, allocations: 478 kB / 1.349 GB, free: 7.219 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008644/0.5313, allocations: 265.9 kB / 1.35 GB, free: 6.961 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5313, allocations: 0 / 1.35 GB, free: 6.961 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.5315, allocations: 76.27 kB / 1.35 GB, free: 6.887 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5327, allocations: 217.1 kB / 1.35 GB, free: 6.684 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.5343, allocations: 0.7088 MB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.5349, allocations: 0.823 MB / 1.351 GB, free: 5.086 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000332/0.5352, allocations: 87.19 kB / 1.351 GB, free: 4.996 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.5353, allocations: 35.44 kB / 1.351 GB, free: 4.961 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/0.5353, allocations: 0 / 1.351 GB, free: 4.961 MB / 1.045 GB Notification: Performance of Templates: time 0.01913/0.5544, allocations: 8.603 MB / 1.36 GB, free: 12.48 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.604281621053815]