Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001861/0.001861, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002325/0.002325, allocations: 165.2 kB / 22.46 MB, free: 5.359 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.569/1.569, allocations: 177.1 MB / 202.8 MB, free: 9.176 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 2.999/2.999, 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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.2e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02262/0.02265, allocations: 16.23 MB / 0.9973 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0095/0.03215, allocations: 4.684 MB / 1.002 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000884/0.03304, allocations: 19.81 kB / 1.002 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.03418, allocations: 270.1 kB / 1.002 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.03652, allocations: 0.6745 MB / 1.003 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.03934, allocations: 0.7825 MB / 1.004 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.04125, allocations: 0.9778 MB / 1.005 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005659/0.04182, allocations: 277.6 kB / 1.005 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.04309, allocations: 0.6035 MB / 1.005 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.0436, allocations: 263.1 kB / 1.006 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.04367, allocations: 32 kB / 1.006 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.04513, allocations: 0.6158 MB / 1.006 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.04531, allocations: 143.4 kB / 1.006 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.04554, allocations: 159.5 kB / 1.007 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.04716, allocations: 0.8995 MB / 1.007 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.04716, allocations: 0 / 1.007 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.04716, allocations: 4 kB / 1.007 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.04717, allocations: 0 / 1.007 GB, free: 1.258 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001601/0.04878, allocations: 0.8189 MB / 1.008 GB, free: 416 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.04882, allocations: 8.031 kB / 1.008 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.04904, allocations: 68.55 kB / 1.008 GB, free: 340 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008219/0.04986, allocations: 394.4 kB / 1.009 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.04989, allocations: 20.88 kB / 1.009 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.04994, allocations: 32.38 kB / 1.009 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/0.05052, allocations: 293.2 kB / 1.009 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.05054, allocations: 0 / 1.009 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.05056, allocations: 12 kB / 1.009 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.05057, allocations: 8 kB / 1.009 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.05103, allocations: 189.8 kB / 1.009 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.05302, allocations: 1.17 MB / 1.01 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.05341, allocations: 162.6 kB / 1.01 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.05361, allocations: 72.81 kB / 1.011 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.05493, allocations: 0.5312 MB / 1.011 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.05497, allocations: 42.48 kB / 1.011 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.05497, allocations: 4 kB / 1.011 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0007349/0.0557, allocations: 247.7 kB / 1.011 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.05576, allocations: 55.34 kB / 1.011 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.05651, allocations: 0.5644 MB / 1.012 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.05654, allocations: 29.7 kB / 1.012 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.05682, allocations: 276.3 kB / 1.012 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.05688, allocations: 51.59 kB / 1.012 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.057, allocations: 69.94 kB / 1.012 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.05721, allocations: 354.8 kB / 1.013 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.05743, allocations: 77.94 kB / 1.013 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.05793, allocations: 450.5 kB / 1.013 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.05841, allocations: 239.4 kB / 1.013 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.05841, allocations: 0 / 1.013 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006785/0.05909, allocations: 317 kB / 1.014 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.05911, allocations: 4 kB / 1.014 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.05912, allocations: 4 kB / 1.014 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.05914, allocations: 4 kB / 1.014 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.05941, allocations: 63.91 kB / 1.014 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.05942, allocations: 11.88 kB / 1.014 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.05975, allocations: 40.06 kB / 1.014 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.05978, allocations: 12 kB / 1.014 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003592/0.06014, allocations: 216.6 kB / 1.014 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004815/0.06062, allocations: 442.3 kB / 1.015 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000447/0.06107, allocations: 236.1 kB / 1.015 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.06107, allocations: 0 / 1.015 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006295/0.0617, allocations: 301.3 kB / 1.015 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/0.06171, allocations: 8 kB / 1.015 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.06172, allocations: 7.984 kB / 1.015 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.06173, allocations: 4 kB / 1.015 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.06198, allocations: 67.91 kB / 1.015 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.06198, allocations: 15.86 kB / 1.015 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.06232, allocations: 39.8 kB / 1.015 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.06234, allocations: 8 kB / 1.015 GB, free: 8.809 MB / 0.9669 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.0001821/0.06253, allocations: 208.1 kB / 1.015 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.06261, allocations: 51.67 kB / 1.015 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006229/0.06324, allocations: 251.5 kB / 1.016 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.06325, allocations: 4 kB / 1.016 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.06326, allocations: 3.938 kB / 1.016 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.06326, allocations: 0 / 1.016 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.0644, allocations: 0.6494 MB / 1.016 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.0644, allocations: 0 / 1.016 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.06455, allocations: 31.97 kB / 1.016 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.06455, allocations: 7.938 kB / 1.016 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.06457, allocations: 4 kB / 1.016 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.06457, allocations: 0 / 1.016 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.06457, allocations: 192 / 1.016 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.0652, allocations: 350.6 kB / 1.017 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.06533, allocations: 79.48 kB / 1.017 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.06539, allocations: 4 kB / 1.017 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.06559, allocations: 11.98 kB / 1.017 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.06565, allocations: 12.17 kB / 1.017 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.06567, allocations: 8 kB / 1.017 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005333/0.0662, allocations: 402.8 kB / 1.017 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0662, allocations: 3.938 kB / 1.017 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008633/0.06707, allocations: 235.5 kB / 1.017 GB, free: 6.438 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 (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.001892/0.06896, allocations: 0.5156 MB / 1.018 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008285/0.06979, allocations: 321.2 kB / 1.018 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.06979, allocations: 0 / 1.018 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.07001, allocations: 85.14 kB / 1.018 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.07125, allocations: 223.2 kB / 1.019 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.07288, allocations: 0.7905 MB / 1.019 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.07319, allocations: 246.1 kB / 1.02 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003351/0.07353, allocations: 96.45 kB / 1.02 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.07364, allocations: 40.48 kB / 1.02 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of SimCode: time 7.52e-07/0.07364, allocations: 0 / 1.02 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of Templates: time 0.02183/0.09547, allocations: 10.16 MB / 1.03 GB, free: 10.3 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.321240071207285]