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.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.0009871/0.0009871, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001092/0.001092, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9414/0.9414, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.084/2.084, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.142e-06/1.142e-06, allocations: 0 / 0.8794 GB, free: 4.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.892e-05, allocations: 4.141 kB / 0.8794 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006521/0.006539, allocations: 7.475 MB / 0.8867 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.01009, allocations: 3.094 MB / 0.8897 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.01043, allocations: 23.81 kB / 0.8897 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.01101, allocations: 182.7 kB / 0.8899 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.01179, allocations: 0.5009 MB / 0.8904 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.01292, allocations: 0.736 MB / 0.8911 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008095/0.01373, allocations: 0.9505 MB / 0.8921 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.01406, allocations: 289.1 kB / 0.8923 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/0.01481, allocations: 0.5205 MB / 0.8928 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.01509, allocations: 263.2 kB / 0.8931 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.01513, allocations: 28 kB / 0.8931 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.01573, allocations: 0.5262 MB / 0.8936 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.01585, allocations: 139.5 kB / 0.8938 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.01597, allocations: 155.6 kB / 0.8939 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007448/0.01671, allocations: 0.689 MB / 0.8946 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.01672, allocations: 0 / 0.8946 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01672, allocations: 4 kB / 0.8946 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.01672, allocations: 4 kB / 0.8946 GB, free: 5.336 MB / 0.8073 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.000818/0.01754, allocations: 0.9071 MB / 0.8955 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.01757, allocations: 8.031 kB / 0.8955 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.01772, allocations: 84.5 kB / 0.8956 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.0181, allocations: 385.1 kB / 0.8959 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.01812, allocations: 28.81 kB / 0.896 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.01815, allocations: 28.38 kB / 0.896 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.01839, allocations: 240.1 kB / 0.8962 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.0184, allocations: 0 / 0.8962 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.01841, allocations: 12 kB / 0.8962 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01842, allocations: 8 kB / 0.8962 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.01851, allocations: 79.36 kB / 0.8963 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01953, allocations: 1.294 MB / 0.8976 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.01967, allocations: 99.27 kB / 0.8977 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.01971, allocations: 47.5 kB / 0.8977 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.02036, allocations: 0.5739 MB / 0.8983 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.02038, allocations: 37.39 kB / 0.8983 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.02038, allocations: 0 / 0.8983 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002307/0.02061, allocations: 153.4 kB / 0.8985 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.02064, allocations: 51.41 kB / 0.8985 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.02095, allocations: 0.506 MB / 0.899 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.02097, allocations: 37.64 kB / 0.899 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.02114, allocations: 327.1 kB / 0.8994 GB, free: 236 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.02117, allocations: 59.5 kB / 0.8994 GB, free: 176 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.02124, allocations: 75.56 kB / 0.8995 GB, free: 88 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.02143, allocations: 0.5429 MB / 0.9 GB, free: 15.53 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.02147, allocations: 32.8 kB / 0.9 GB, free: 15.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.02169, allocations: 423.9 kB / 0.9004 GB, free: 14.96 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.02184, allocations: 178.2 kB / 0.9006 GB, free: 14.74 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.02185, allocations: 0 / 0.9006 GB, free: 14.74 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002495/0.02209, allocations: 229.1 kB / 0.9008 GB, free: 14.51 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.02211, allocations: 4 kB / 0.9008 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.02211, allocations: 4 kB / 0.9008 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.02213, allocations: 4 kB / 0.9008 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.02227, allocations: 59.91 kB / 0.9009 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.02227, allocations: 7.984 kB / 0.9009 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.0224, allocations: 39.7 kB / 0.9009 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.02243, allocations: 12.25 kB / 0.901 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000101/0.02253, allocations: 163.4 kB / 0.9011 GB, free: 14.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001727/0.0227, allocations: 419.1 kB / 0.9015 GB, free: 13.69 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001291/0.02283, allocations: 178.7 kB / 0.9017 GB, free: 13.47 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.02283, allocations: 0 / 0.9017 GB, free: 13.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002263/0.02306, allocations: 229.1 kB / 0.9019 GB, free: 13.24 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.02306, allocations: 4 kB / 0.9019 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.02307, allocations: 4 kB / 0.9019 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-06/0.02307, allocations: 7.938 kB / 0.9019 GB, free: 13.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.02318, allocations: 55.91 kB / 0.902 GB, free: 13.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.02318, allocations: 7.938 kB / 0.902 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.02331, allocations: 40.12 kB / 0.902 GB, free: 13.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.02333, allocations: 11.94 kB / 0.902 GB, free: 13.11 MB / 0.823 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 9.351e-05/0.02342, allocations: 284 kB / 0.9023 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.02347, allocations: 55.86 kB / 0.9024 GB, free: 12.77 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.02369, allocations: 175.3 kB / 0.9025 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.0237, allocations: 4 kB / 0.9025 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.0237, allocations: 0 / 0.9025 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.02371, allocations: 7.922 kB / 0.9025 GB, free: 12.58 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.02417, allocations: 0.5496 MB / 0.9031 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02417, allocations: 0 / 0.9031 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.02425, allocations: 27.98 kB / 0.9031 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.02425, allocations: 0 / 0.9031 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.02426, allocations: 8 kB / 0.9031 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.02426, allocations: 7.938 kB / 0.9031 GB, free: 11.94 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02426, allocations: 0 / 0.9031 GB, free: 11.94 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.02445, allocations: 334.2 kB / 0.9034 GB, free: 11.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.02452, allocations: 63.61 kB / 0.9035 GB, free: 11.51 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.02459, allocations: 8.125 kB / 0.9035 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.02467, allocations: 7.938 kB / 0.9035 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.0247, allocations: 19.97 kB / 0.9035 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.02471, allocations: 4 kB / 0.9035 GB, free: 11.47 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001655/0.02488, allocations: 314.7 kB / 0.9038 GB, free: 11.17 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.02488, allocations: 0 / 0.9038 GB, free: 11.17 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004304/0.02531, allocations: 219.5 kB / 0.904 GB, free: 10.95 MB / 0.823 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.0007948/0.0261, allocations: 434.1 kB / 0.9045 GB, free: 10.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.02641, allocations: 204.6 kB / 0.9046 GB, free: 10.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02641, allocations: 0 / 0.9046 GB, free: 10.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.02647, allocations: 55.58 kB / 0.9047 GB, free: 10.37 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.02706, allocations: 231.2 kB / 0.9049 GB, free: 10.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009955/0.02806, allocations: 0.7413 MB / 0.9056 GB, free: 9.363 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.172e-05/0.02813, allocations: 121.5 kB / 0.9058 GB, free: 9.223 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.02829, allocations: 72.06 kB / 0.9058 GB, free: 9.148 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.02857, allocations: 230.1 kB / 0.906 GB, free: 8.922 MB / 0.823 GB Notification: Performance of SimCode: time 9.62e-07/0.02857, allocations: 0 / 0.906 GB, free: 8.922 MB / 0.823 GB Notification: Performance of Templates: time 0.012/0.04057, allocations: 10.45 MB / 0.9163 GB, free: 14.71 MB / 0.8386 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5834181029349566]