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.000873/0.000873, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008847/0.0008847, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8931/0.8931, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.71/1.71, allocations: 377.8 MB / 0.6229 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] 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.433e-06/1.433e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.149e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01137/0.01139, allocations: 16.23 MB / 0.9981 GB, free: 1.785 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.01576, allocations: 4.683 MB / 1.003 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.016, allocations: 23.75 kB / 1.003 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.01666, allocations: 262.3 kB / 1.003 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.01754, allocations: 0.6797 MB / 1.004 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.01854, allocations: 0.7811 MB / 1.004 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007387/0.01928, allocations: 0.9855 MB / 1.005 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.01959, allocations: 281.6 kB / 1.006 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.02018, allocations: 0.5996 MB / 1.006 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.02043, allocations: 267.2 kB / 1.006 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.02047, allocations: 32 kB / 1.006 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.0211, allocations: 0.6119 MB / 1.007 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.0212, allocations: 139.5 kB / 1.007 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.02131, allocations: 155.6 kB / 1.007 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008191/0.02213, allocations: 0.9111 MB / 1.008 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.02213, allocations: 0 / 1.008 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.482e-06/0.02214, allocations: 4 kB / 1.008 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.02214, allocations: 3.938 kB / 1.008 GB, free: 7.363 MB / 0.9636 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.0009744/0.02312, allocations: 0.815 MB / 1.009 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.02315, allocations: 8.031 kB / 1.009 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.02327, allocations: 64.56 kB / 1.009 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.02375, allocations: 402.2 kB / 1.009 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.02377, allocations: 20.88 kB / 1.009 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.0238, allocations: 28.38 kB / 1.009 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.02413, allocations: 293.2 kB / 1.01 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.02414, allocations: 0 / 1.01 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.02415, allocations: 8 kB / 1.01 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.02416, allocations: 8 kB / 1.01 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.0244, allocations: 185.8 kB / 1.01 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.02548, allocations: 1.171 MB / 1.011 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.02569, allocations: 158.7 kB / 1.011 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.02579, allocations: 80.8 kB / 1.011 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.02646, allocations: 0.5312 MB / 1.012 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.02648, allocations: 34.5 kB / 1.012 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.02648, allocations: 0 / 1.012 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003829/0.02686, allocations: 249.2 kB / 1.012 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.02689, allocations: 59.28 kB / 1.012 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.0273, allocations: 0.5645 MB / 1.013 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.02731, allocations: 29.7 kB / 1.013 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.02745, allocations: 272.4 kB / 1.013 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.02747, allocations: 47.53 kB / 1.013 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.02754, allocations: 73.92 kB / 1.013 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.02764, allocations: 358.8 kB / 1.013 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.02775, allocations: 81.88 kB / 1.014 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.02798, allocations: 446.3 kB / 1.014 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.02823, allocations: 239.3 kB / 1.014 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02823, allocations: 3.938 kB / 1.014 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003355/0.02857, allocations: 305 kB / 1.015 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.02858, allocations: 11.98 kB / 1.015 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02858, allocations: 4 kB / 1.015 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.0286, allocations: 4 kB / 1.015 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.02874, allocations: 67.91 kB / 1.015 GB, free: 460 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.02875, allocations: 11.88 kB / 1.015 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.02889, allocations: 40.02 kB / 1.015 GB, free: 408 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.02892, allocations: 19.98 kB / 1.015 GB, free: 388 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001857/0.02911, allocations: 212.6 kB / 1.015 GB, free: 172 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000407/0.02951, allocations: 446.3 kB / 1.015 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002179/0.02973, allocations: 227.8 kB / 1.016 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.02973, allocations: 0 / 1.016 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0003237/0.03006, allocations: 313.2 kB / 1.016 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.03007, allocations: 10.66 kB / 1.016 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.03007, allocations: 4 kB / 1.016 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-06/0.03007, allocations: 7.938 kB / 1.016 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.03018, allocations: 59.91 kB / 1.016 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.03019, allocations: 7.984 kB / 1.016 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.03033, allocations: 35.81 kB / 1.016 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.03035, allocations: 19.98 kB / 1.016 GB, free: 14.92 MB / 0.9792 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 7.781e-05/0.03042, allocations: 204.3 kB / 1.016 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.03047, allocations: 47.67 kB / 1.016 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.03079, allocations: 259.5 kB / 1.016 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.03079, allocations: 4 kB / 1.016 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.0308, allocations: 7.875 kB / 1.016 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.0308, allocations: 0 / 1.016 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.03138, allocations: 0.6417 MB / 1.017 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.03139, allocations: 0 / 1.017 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.03145, allocations: 27.98 kB / 1.017 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.03145, allocations: 7.938 kB / 1.017 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.03146, allocations: 7.984 kB / 1.017 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.03146, allocations: 4 kB / 1.017 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03147, allocations: 3.938 kB / 1.017 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.03174, allocations: 346.9 kB / 1.017 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.03181, allocations: 71.56 kB / 1.018 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.03185, allocations: 11.94 kB / 1.018 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.03194, allocations: 11.98 kB / 1.018 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.03198, allocations: 23.91 kB / 1.018 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.03199, allocations: 4 kB / 1.018 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002748/0.03226, allocations: 398.8 kB / 1.018 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03226, allocations: 0 / 1.018 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000436/0.0327, allocations: 239.5 kB / 1.018 GB, free: 12.55 MB / 0.9792 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.0007977/0.03349, allocations: 0.5032 MB / 1.019 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.03391, allocations: 323.8 kB / 1.019 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.03391, allocations: 0 / 1.019 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.03402, allocations: 81.02 kB / 1.019 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.03462, allocations: 226.8 kB / 1.019 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008816/0.0355, allocations: 0.835 MB / 1.02 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.03565, allocations: 246.1 kB / 1.02 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.03571, allocations: 40.5 kB / 1.02 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/0.03571, allocations: 0 / 1.02 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of Templates: time 0.007447/0.04316, allocations: 8.544 MB / 1.029 GB, free: 1.91 MB / 0.9792 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: 8.203029299154878]