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.001495/0.001495, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001625/0.001625, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.575/1.575, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.039/3.039, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.695e-05, allocations: 5.656 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01968/0.01972, allocations: 14.41 MB / 0.9955 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008012/0.02773, allocations: 4.119 MB / 0.9995 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.02833, allocations: 23.75 kB / 0.9995 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.02937, allocations: 270.2 kB / 0.9998 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.03117, allocations: 0.7002 MB / 1 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.03334, allocations: 0.7464 MB / 1.001 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.035, allocations: 1.032 MB / 1.002 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.03558, allocations: 284.4 kB / 1.002 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.03672, allocations: 0.5996 MB / 1.003 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.0372, allocations: 275.1 kB / 1.003 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.03727, allocations: 27.94 kB / 1.003 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.03844, allocations: 0.5379 MB / 1.004 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.0386, allocations: 107.5 kB / 1.004 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.03886, allocations: 151.5 kB / 1.004 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.04015, allocations: 0.7788 MB / 1.005 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.04015, allocations: 0 / 1.005 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.04016, allocations: 0 / 1.005 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.04017, allocations: 0 / 1.005 GB, free: 3.855 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.001414/0.04158, allocations: 0.7684 MB / 1.006 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.04164, allocations: 12.03 kB / 1.006 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.04177, allocations: 56.61 kB / 1.006 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.04255, allocations: 370.2 kB / 1.006 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.04259, allocations: 20.88 kB / 1.006 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.04266, allocations: 35.94 kB / 1.006 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.04315, allocations: 212.1 kB / 1.006 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.04316, allocations: 0 / 1.006 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.04319, allocations: 4 kB / 1.006 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.0432, allocations: 8 kB / 1.006 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.04361, allocations: 169.9 kB / 1.006 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.04519, allocations: 0.6909 MB / 1.007 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.04552, allocations: 126.6 kB / 1.007 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.04569, allocations: 68.8 kB / 1.007 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.04586, allocations: 35.92 kB / 1.007 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.0459, allocations: 34.55 kB / 1.007 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.0459, allocations: 3.938 kB / 1.007 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0007126/0.04661, allocations: 242.2 kB / 1.008 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.04667, allocations: 55.41 kB / 1.008 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.04722, allocations: 445.8 kB / 1.008 GB, free: 408 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.04726, allocations: 33.7 kB / 1.008 GB, free: 368 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.04747, allocations: 232.6 kB / 1.008 GB, free: 132 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.04752, allocations: 51.66 kB / 1.008 GB, free: 80 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.04763, allocations: 61.69 kB / 1.008 GB, free: 12 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.04783, allocations: 346.8 kB / 1.009 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.04803, allocations: 68.81 kB / 1.009 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.04847, allocations: 415 kB / 1.009 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.04886, allocations: 169.1 kB / 1.009 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.04886, allocations: 0 / 1.009 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005619/0.04942, allocations: 253.1 kB / 1.01 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.04944, allocations: 8 kB / 1.01 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.04945, allocations: 0 / 1.01 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.04947, allocations: 0 / 1.01 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.04972, allocations: 47.91 kB / 1.01 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.04973, allocations: 4 kB / 1.01 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.05005, allocations: 35.86 kB / 1.01 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.05009, allocations: 15.98 kB / 1.01 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003426/0.05043, allocations: 192.1 kB / 1.01 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004294/0.05086, allocations: 422.3 kB / 1.01 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003774/0.05124, allocations: 165 kB / 1.011 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.05124, allocations: 0 / 1.011 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005542/0.0518, allocations: 254.8 kB / 1.011 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.05181, allocations: 11.94 kB / 1.011 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.05182, allocations: 4 kB / 1.011 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.05182, allocations: 4 kB / 1.011 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.05203, allocations: 47.91 kB / 1.011 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.05204, allocations: 8.062 kB / 1.011 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.05238, allocations: 35.86 kB / 1.011 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.0524, allocations: 8 kB / 1.011 GB, free: 13.32 MB / 0.9669 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.0001621/0.05257, allocations: 196.7 kB / 1.011 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.05264, allocations: 39.7 kB / 1.011 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/0.05326, allocations: 248.9 kB / 1.011 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.05327, allocations: 4 kB / 1.011 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.05328, allocations: 0 / 1.011 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.05329, allocations: 3.984 kB / 1.011 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.05437, allocations: 0.6067 MB / 1.012 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.05438, allocations: 4 kB / 1.012 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.05451, allocations: 35.91 kB / 1.012 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.05452, allocations: 8.125 kB / 1.012 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.05453, allocations: 0 / 1.012 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.05453, allocations: 4 kB / 1.012 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.05454, allocations: 0 / 1.012 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.05508, allocations: 349 kB / 1.012 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.0552, allocations: 63.67 kB / 1.012 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.05525, allocations: 4 kB / 1.012 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.05546, allocations: 15.98 kB / 1.012 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.05553, allocations: 11.98 kB / 1.012 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.05555, allocations: 11.92 kB / 1.012 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003726/0.05592, allocations: 311.1 kB / 1.013 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.05592, allocations: 0 / 1.013 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000746/0.05667, allocations: 211.5 kB / 1.013 GB, free: 11.14 MB / 0.9669 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.001836/0.05851, allocations: 0.4937 MB / 1.013 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007319/0.05924, allocations: 255.7 kB / 1.014 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.05924, allocations: 0 / 1.014 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.05946, allocations: 80.27 kB / 1.014 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009828/0.06044, allocations: 178.1 kB / 1.014 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.06182, allocations: 0.6843 MB / 1.015 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.06208, allocations: 236 kB / 1.015 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000261/0.06234, allocations: 87.08 kB / 1.015 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.06244, allocations: 40.48 kB / 1.015 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/0.06244, allocations: 0 / 1.015 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of Templates: time 0.01779/0.08023, allocations: 8.286 MB / 1.023 GB, free: 1.109 MB / 0.9669 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.306300684809685]