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.01057/0.01057, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001511/0.00151, allocations: 188.5 kB / 16.67 MB, free: 5.926 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.449/2.449, allocations: 437 MB / 0.7105 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.83 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.134, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01918/1.154, allocations: 15.55 MB / 1.182 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007424/1.161, allocations: 4.323 MB / 1.186 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008136/1.162, allocations: 23.88 kB / 1.186 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/1.163, allocations: 270.2 kB / 1.186 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/1.165, allocations: 0.6307 MB / 1.187 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/1.167, allocations: 0.7025 MB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001513/1.169, allocations: 1.044 MB / 1.189 GB, free: 13.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005402/1.169, allocations: 331.9 kB / 1.189 GB, free: 12.94 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/1.17, allocations: 430.3 kB / 1.189 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/1.171, allocations: 318.5 kB / 1.19 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.483e-05/1.171, allocations: 32 kB / 1.19 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/1.172, allocations: 0.6239 MB / 1.19 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/1.172, allocations: 103.5 kB / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002457/1.173, allocations: 222.8 kB / 1.191 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/1.174, allocations: 0.771 MB / 1.191 GB, free: 10.46 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.174, allocations: 4 kB / 1.191 GB, free: 10.45 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.134e-06/1.174, allocations: 0 / 1.191 GB, free: 10.45 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.174, allocations: 0 / 1.191 GB, free: 10.45 MB / 0.92 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.001309/1.175, allocations: 0.8477 MB / 1.192 GB, free: 9.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.175, allocations: 12.03 kB / 1.192 GB, free: 9.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/1.175, allocations: 52.61 kB / 1.192 GB, free: 9.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/1.176, allocations: 445.8 kB / 1.193 GB, free: 9.016 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.176, allocations: 20.44 kB / 1.193 GB, free: 8.996 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/1.176, allocations: 24 kB / 1.193 GB, free: 8.973 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/1.177, allocations: 211.2 kB / 1.193 GB, free: 8.762 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.177, allocations: 3.984 kB / 1.193 GB, free: 8.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/1.177, allocations: 4 kB / 1.193 GB, free: 8.754 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/1.177, allocations: 11.94 kB / 1.193 GB, free: 8.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/1.177, allocations: 177.6 kB / 1.193 GB, free: 8.57 MB / 0.92 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.00165/1.179, allocations: 0.9382 MB / 1.194 GB, free: 7.551 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/1.179, allocations: 127.7 kB / 1.194 GB, free: 7.418 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/1.179, allocations: 80.81 kB / 1.194 GB, free: 7.336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/1.18, allocations: 336.4 kB / 1.195 GB, free: 6.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/1.18, allocations: 34.5 kB / 1.195 GB, free: 6.891 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/1.18, allocations: 0 / 1.195 GB, free: 6.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.0006863/1.18, allocations: 241.9 kB / 1.195 GB, free: 6.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.18, allocations: 59.41 kB / 1.195 GB, free: 6.578 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/1.181, allocations: 478 kB / 1.195 GB, free: 6.102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/1.181, allocations: 25.7 kB / 1.195 GB, free: 6.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.181, allocations: 240.7 kB / 1.196 GB, free: 5.832 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/1.181, allocations: 43.7 kB / 1.196 GB, free: 5.789 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.181, allocations: 61.64 kB / 1.196 GB, free: 5.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.181, allocations: 366.7 kB / 1.196 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/1.182, allocations: 80.75 kB / 1.196 GB, free: 5.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/1.182, allocations: 142.3 kB / 1.196 GB, free: 5.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/1.182, allocations: 173 kB / 1.196 GB, free: 4.934 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.182, allocations: 0 / 1.196 GB, free: 4.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005796/1.183, allocations: 253.2 kB / 1.197 GB, free: 4.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.183, allocations: 4 kB / 1.197 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.183, allocations: 4 kB / 1.197 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.183, allocations: 0 / 1.197 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/1.183, allocations: 43.97 kB / 1.197 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.183, allocations: 0 / 1.197 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/1.183, allocations: 43.8 kB / 1.197 GB, free: 4.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/1.184, allocations: 11.94 kB / 1.197 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002943/1.184, allocations: 188.1 kB / 1.197 GB, free: 4.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002804/1.184, allocations: 161.2 kB / 1.197 GB, free: 4.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003237/1.184, allocations: 177.7 kB / 1.197 GB, free: 4.008 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/1.184, allocations: 0 / 1.197 GB, free: 4.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000479/1.185, allocations: 258.6 kB / 1.197 GB, free: 3.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/1.185, allocations: 7.938 kB / 1.197 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/1.185, allocations: 0 / 1.197 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/1.185, allocations: 4 kB / 1.197 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.185, allocations: 51.91 kB / 1.198 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/1.185, allocations: 0 / 1.198 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/1.186, allocations: 35.86 kB / 1.198 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/1.186, allocations: 16.05 kB / 1.198 GB, free: 3.637 MB / 0.92 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.000124/1.186, allocations: 192.2 kB / 1.198 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/1.186, allocations: 43.72 kB / 1.198 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/1.186, allocations: 259.9 kB / 1.198 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.186, allocations: 0 / 1.198 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.186, allocations: 4 kB / 1.198 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.186, allocations: 0 / 1.198 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/1.187, allocations: 0.7005 MB / 1.199 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.187, allocations: 4 kB / 1.199 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/1.188, allocations: 32.03 kB / 1.199 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.188, allocations: 8 kB / 1.199 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/1.188, allocations: 8 kB / 1.199 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.188, allocations: 3.938 kB / 1.199 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.188, allocations: 0 / 1.199 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/1.188, allocations: 342.5 kB / 1.199 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.188, allocations: 144.9 kB / 1.199 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/1.188, allocations: 4 kB / 1.199 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/1.189, allocations: 23.86 kB / 1.199 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/1.189, allocations: 11.92 kB / 1.199 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.189, allocations: 12 kB / 1.199 GB, free: 1.742 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003635/1.189, allocations: 334.9 kB / 1.2 GB, free: 1.418 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.189, allocations: 0 / 1.2 GB, free: 1.418 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007369/1.19, allocations: 203.6 kB / 1.2 GB, free: 1.219 MB / 0.92 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.001161/1.191, allocations: 476.2 kB / 1.2 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007/1.192, allocations: 271.7 kB / 1.201 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.192, allocations: 3.938 kB / 1.201 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/1.192, allocations: 91.95 kB / 1.201 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/1.193, allocations: 202.7 kB / 1.201 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.194, allocations: 0.7103 MB / 1.202 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/1.195, allocations: 0.8309 MB / 1.202 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003001/1.195, allocations: 83.44 kB / 1.202 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/1.195, allocations: 39.42 kB / 1.202 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.195, allocations: 0 / 1.202 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.01798/1.213, allocations: 8.516 MB / 1.211 GB, free: 6.199 MB / 0.9356 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