Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008882/0.008882, allocations: 95.61 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 197.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.78/2.78, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3929, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01732/0.4102, allocations: 15.54 MB / 1.182 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006861/0.4171, allocations: 4.326 MB / 1.186 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/0.4179, allocations: 23.88 kB / 1.186 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.419, allocations: 262.4 kB / 1.186 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.4208, allocations: 0.5984 MB / 1.187 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.4228, allocations: 0.7177 MB / 1.188 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4242, allocations: 1.029 MB / 1.189 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.4248, allocations: 343.7 kB / 1.189 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007443/0.4255, allocations: 418.4 kB / 1.189 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.426, allocations: 322.5 kB / 1.19 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.4261, allocations: 32 kB / 1.19 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.4273, allocations: 0.6278 MB / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.4275, allocations: 99.59 kB / 1.19 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.4277, allocations: 222.8 kB / 1.191 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.4288, allocations: 0.7705 MB / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4288, allocations: 0 / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4289, allocations: 4 kB / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4289, allocations: 0 / 1.191 GB, free: 13.39 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.001257/0.4301, allocations: 0.8399 MB / 1.192 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4302, allocations: 8.031 kB / 1.192 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.4303, allocations: 56.61 kB / 1.192 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.431, allocations: 449.7 kB / 1.193 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.431, allocations: 20.42 kB / 1.193 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.4311, allocations: 28 kB / 1.193 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.4316, allocations: 211.2 kB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4316, allocations: 0 / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.4317, allocations: 8 kB / 1.193 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4317, allocations: 8 kB / 1.193 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.4321, allocations: 169.6 kB / 1.193 GB, free: 11.52 MB / 0.9512 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.00156/0.4336, allocations: 0.9459 MB / 1.194 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.434, allocations: 134.6 kB / 1.194 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.4341, allocations: 72.81 kB / 1.194 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.4344, allocations: 332.4 kB / 1.194 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.4345, allocations: 42.48 kB / 1.195 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.4345, allocations: 0 / 1.195 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006533/0.4351, allocations: 241.2 kB / 1.195 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.4352, allocations: 59.34 kB / 1.195 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.4357, allocations: 474 kB / 1.195 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.4357, allocations: 29.7 kB / 1.195 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.4359, allocations: 228.7 kB / 1.196 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.436, allocations: 55.64 kB / 1.196 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.4361, allocations: 61.64 kB / 1.196 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4363, allocations: 354.7 kB / 1.196 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.4365, allocations: 76.81 kB / 1.196 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4367, allocations: 150.1 kB / 1.196 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.4371, allocations: 167.9 kB / 1.196 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4371, allocations: 0 / 1.196 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005143/0.4376, allocations: 257.2 kB / 1.197 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4376, allocations: 5.875 kB / 1.197 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4377, allocations: 0 / 1.197 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4377, allocations: 4 kB / 1.197 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.4379, allocations: 51.91 kB / 1.197 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4379, allocations: 0 / 1.197 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.4382, allocations: 39.84 kB / 1.197 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.4383, allocations: 8 kB / 1.197 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003025/0.4386, allocations: 190.5 kB / 1.197 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002556/0.4389, allocations: 173.2 kB / 1.197 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003503/0.4392, allocations: 168.1 kB / 1.197 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4392, allocations: 0 / 1.197 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000497/0.4397, allocations: 261.1 kB / 1.197 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.4397, allocations: 4 kB / 1.197 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4398, allocations: 4 kB / 1.197 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-06/0.4398, allocations: 4 kB / 1.197 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.44, allocations: 47.91 kB / 1.198 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.44, allocations: 0 / 1.198 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.4403, allocations: 35.86 kB / 1.198 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4403, allocations: 20.05 kB / 1.198 GB, free: 6.574 MB / 0.9512 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.0001291/0.4405, allocations: 196.1 kB / 1.198 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.4405, allocations: 43.72 kB / 1.198 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/0.4411, allocations: 253.1 kB / 1.198 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4411, allocations: 7.938 kB / 1.198 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4411, allocations: 4 kB / 1.198 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4412, allocations: 192 / 1.198 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.4422, allocations: 0.6967 MB / 1.199 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4422, allocations: 7.938 kB / 1.199 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.4423, allocations: 24.11 kB / 1.199 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4423, allocations: 8 kB / 1.199 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.4424, allocations: 7.984 kB / 1.199 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4424, allocations: 7.938 kB / 1.199 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4424, allocations: 3.938 kB / 1.199 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.4429, allocations: 344.5 kB / 1.199 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.4431, allocations: 137 kB / 1.199 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.4432, allocations: 4 kB / 1.199 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4434, allocations: 19.92 kB / 1.199 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.4434, allocations: 19.91 kB / 1.199 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4435, allocations: 8 kB / 1.199 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003769/0.4438, allocations: 334.9 kB / 1.2 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4438, allocations: 0 / 1.2 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007051/0.4446, allocations: 203.6 kB / 1.2 GB, free: 4.156 MB / 0.9512 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.001209/0.4458, allocations: 480.1 kB / 1.2 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006591/0.4464, allocations: 271.6 kB / 1.201 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4465, allocations: 0 / 1.201 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.4467, allocations: 84.08 kB / 1.201 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4477, allocations: 200.1 kB / 1.201 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.449, allocations: 0.712 MB / 1.201 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.4495, allocations: 0.827 MB / 1.202 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.4498, allocations: 91.52 kB / 1.202 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.4499, allocations: 43.36 kB / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.4499, allocations: 0 / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of Templates: time 0.01636/0.4663, allocations: 8.516 MB / 1.211 GB, free: 9.152 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches