Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001315/0.001315, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001452/0.001452, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476 MB / 0.7707 GB, free: 4.914 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 65.38 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3838, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01972/0.4036, allocations: 14.55 MB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007288/0.4109, allocations: 4.147 MB / 1.302 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.4115, allocations: 23.81 kB / 1.302 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.4125, allocations: 258.3 kB / 1.302 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.4143, allocations: 0.6873 MB / 1.303 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.4162, allocations: 0.721 MB / 1.304 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.4176, allocations: 1.048 MB / 1.305 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.4181, allocations: 284.4 kB / 1.305 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007689/0.4189, allocations: 450.3 kB / 1.305 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.4194, allocations: 322.5 kB / 1.306 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.4194, allocations: 31.94 kB / 1.306 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.4205, allocations: 0.5342 MB / 1.306 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.4206, allocations: 103.6 kB / 1.306 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.4208, allocations: 186.9 kB / 1.307 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.4219, allocations: 0.7666 MB / 1.307 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4219, allocations: 0 / 1.307 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4219, allocations: 0 / 1.307 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.4219, allocations: 0 / 1.307 GB, free: 3.84 MB / 0.9981 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.001266/0.4232, allocations: 0.7801 MB / 1.308 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4233, allocations: 8.031 kB / 1.308 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.4234, allocations: 64.56 kB / 1.308 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.4241, allocations: 374.6 kB / 1.308 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4241, allocations: 20.44 kB / 1.308 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.4242, allocations: 31.94 kB / 1.309 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.4246, allocations: 219.2 kB / 1.309 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4246, allocations: 0 / 1.309 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.4246, allocations: 8 kB / 1.309 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4246, allocations: 4 kB / 1.309 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.425, allocations: 165.6 kB / 1.309 GB, free: 2.117 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.4265, allocations: 0.7022 MB / 1.31 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.4268, allocations: 130.5 kB / 1.31 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.427, allocations: 68.81 kB / 1.31 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.4271, allocations: 27.98 kB / 1.31 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.4272, allocations: 42.56 kB / 1.31 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.4272, allocations: 0 / 1.31 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006459/0.4278, allocations: 239.3 kB / 1.31 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.4279, allocations: 55.41 kB / 1.31 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.4284, allocations: 445.9 kB / 1.311 GB, free: 364 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.4284, allocations: 33.7 kB / 1.311 GB, free: 324 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.4286, allocations: 236.6 kB / 1.311 GB, free: 80 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.4287, allocations: 51.53 kB / 1.311 GB, free: 28 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4288, allocations: 61.64 kB / 1.311 GB, free: 15.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.4289, allocations: 346.8 kB / 1.311 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.4291, allocations: 72.81 kB / 1.311 GB, free: 15.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.4296, allocations: 420.5 kB / 1.312 GB, free: 15.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.4299, allocations: 168.2 kB / 1.312 GB, free: 14.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4299, allocations: 0 / 1.312 GB, free: 14.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005152/0.4304, allocations: 257.2 kB / 1.312 GB, free: 14.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4304, allocations: 6.5 kB / 1.312 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4305, allocations: 0 / 1.312 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4305, allocations: 4 kB / 1.312 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.4307, allocations: 47.91 kB / 1.312 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.4307, allocations: 4 kB / 1.312 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.431, allocations: 35.86 kB / 1.312 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.431, allocations: 8 kB / 1.312 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002969/0.4313, allocations: 188.1 kB / 1.312 GB, free: 14.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003862/0.4317, allocations: 416.4 kB / 1.313 GB, free: 13.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003384/0.4321, allocations: 176.2 kB / 1.313 GB, free: 13.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.4321, allocations: 4 kB / 1.313 GB, free: 13.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005046/0.4326, allocations: 259.2 kB / 1.313 GB, free: 13.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.4326, allocations: 4 kB / 1.313 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.4326, allocations: 0 / 1.313 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.4326, allocations: 4.188 kB / 1.313 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.4328, allocations: 47.91 kB / 1.313 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.4328, allocations: 3.938 kB / 1.313 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.4331, allocations: 39.92 kB / 1.313 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.4331, allocations: 12 kB / 1.313 GB, free: 13.26 MB / 1.014 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.0001387/0.4333, allocations: 192.1 kB / 1.314 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.4333, allocations: 43.72 kB / 1.314 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.4339, allocations: 245.1 kB / 1.314 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.4339, allocations: 4 kB / 1.314 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4339, allocations: 0 / 1.314 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4339, allocations: 4 kB / 1.314 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.4349, allocations: 0.6182 MB / 1.314 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4349, allocations: 0 / 1.314 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.435, allocations: 39.91 kB / 1.314 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.435, allocations: 4 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.435, allocations: 4.125 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4351, allocations: 8 kB / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4351, allocations: 0 / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.4356, allocations: 346.4 kB / 1.315 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.4357, allocations: 59.66 kB / 1.315 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.4357, allocations: 8 kB / 1.315 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.4359, allocations: 7.984 kB / 1.315 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.436, allocations: 23.92 kB / 1.315 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.436, allocations: 7.984 kB / 1.315 GB, free: 11.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003689/0.4364, allocations: 315.1 kB / 1.315 GB, free: 11.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4364, allocations: 0 / 1.315 GB, free: 11.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006738/0.437, allocations: 211.5 kB / 1.315 GB, free: 11.06 MB / 1.014 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.001625/0.4387, allocations: 496.6 kB / 1.316 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006759/0.4393, allocations: 259.7 kB / 1.316 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4393, allocations: 0 / 1.316 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.4395, allocations: 83.83 kB / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.4405, allocations: 176.1 kB / 1.316 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4418, allocations: 0.7619 MB / 1.317 GB, free: 9.414 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.442, allocations: 227.8 kB / 1.317 GB, free: 9.172 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.4421, allocations: 31.44 kB / 1.317 GB, free: 9.141 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.4421, allocations: 0 / 1.317 GB, free: 9.141 MB / 1.014 GB Notification: Performance of Templates: time 0.01175/0.4538, allocations: 7.302 MB / 1.324 GB, free: 1.895 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.809811748098582]