Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01121/0.01121, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.00221/0.00221, allocations: 192 kB / 16.67 MB, free: 5.953 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.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.635/2.635, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.177, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01912/1.196, allocations: 17.46 MB / 1.184 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00807/1.204, allocations: 4.915 MB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/1.205, allocations: 15.94 kB / 1.188 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/1.206, allocations: 254.4 kB / 1.189 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/1.208, allocations: 0.6141 MB / 1.189 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/1.211, allocations: 0.7297 MB / 1.19 GB, free: 11.76 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001777/1.213, allocations: 0.9624 MB / 1.191 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005689/1.213, allocations: 341 kB / 1.191 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/1.214, allocations: 426.2 kB / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/1.215, allocations: 310.6 kB / 1.192 GB, free: 9.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/1.215, allocations: 28 kB / 1.192 GB, free: 9.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/1.216, allocations: 0.7253 MB / 1.193 GB, free: 8.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/1.216, allocations: 135.5 kB / 1.193 GB, free: 8.844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/1.217, allocations: 242.6 kB / 1.193 GB, free: 8.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/1.218, allocations: 0.884 MB / 1.194 GB, free: 7.723 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/1.218, allocations: 0 / 1.194 GB, free: 7.723 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.854e-06/1.218, allocations: 3.938 kB / 1.194 GB, free: 7.719 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.218, allocations: 0 / 1.194 GB, free: 7.719 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001527/1.22, allocations: 0.8982 MB / 1.195 GB, free: 6.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.22, allocations: 8.922 kB / 1.195 GB, free: 6.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/1.22, allocations: 68.56 kB / 1.195 GB, free: 6.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008023/1.221, allocations: 470.1 kB / 1.195 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.221, allocations: 24.5 kB / 1.195 GB, free: 6.176 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/1.221, allocations: 28 kB / 1.195 GB, free: 6.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/1.221, allocations: 290.2 kB / 1.196 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.221, allocations: 0 / 1.196 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/1.221, allocations: 12 kB / 1.196 GB, free: 5.836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.221, allocations: 4 kB / 1.196 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/1.222, allocations: 194.1 kB / 1.196 GB, free: 5.641 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.001883/1.224, allocations: 1.476 MB / 1.197 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/1.224, allocations: 162.8 kB / 1.197 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.224, allocations: 80.81 kB / 1.198 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/1.226, allocations: 1.272 MB / 1.199 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/1.226, allocations: 42.44 kB / 1.199 GB, free: 2.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/1.226, allocations: 3.938 kB / 1.199 GB, free: 2.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0007013/1.227, allocations: 249.2 kB / 1.199 GB, free: 2.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.227, allocations: 59.41 kB / 1.199 GB, free: 1.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/1.227, allocations: 0.5887 MB / 1.2 GB, free: 1.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/1.228, allocations: 29.7 kB / 1.2 GB, free: 1.336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/1.228, allocations: 276.4 kB / 1.2 GB, free: 1.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/1.228, allocations: 55.53 kB / 1.2 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.228, allocations: 69.92 kB / 1.2 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.228, allocations: 354.8 kB / 1.2 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.228, allocations: 85.86 kB / 1.201 GB, free: 500 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/1.229, allocations: 207.3 kB / 1.201 GB, free: 244 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/1.229, allocations: 247.5 kB / 1.201 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.229, allocations: 0 / 1.201 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005884/1.23, allocations: 315.2 kB / 1.201 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.23, allocations: 12.19 kB / 1.201 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.23, allocations: 4 kB / 1.201 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.23, allocations: 4 kB / 1.201 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/1.23, allocations: 59.91 kB / 1.201 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.23, allocations: 11.92 kB / 1.201 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/1.23, allocations: 47.75 kB / 1.201 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/1.23, allocations: 12 kB / 1.201 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003179/1.231, allocations: 212.6 kB / 1.202 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002817/1.231, allocations: 212.8 kB / 1.202 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003775/1.231, allocations: 233.2 kB / 1.202 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/1.231, allocations: 0 / 1.202 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000544/1.232, allocations: 310.9 kB / 1.202 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.232, allocations: 8.25 kB / 1.202 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.232, allocations: 7.938 kB / 1.202 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-06/1.232, allocations: 4 kB / 1.202 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/1.232, allocations: 63.89 kB / 1.202 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/1.232, allocations: 4 kB / 1.202 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/1.233, allocations: 31.88 kB / 1.202 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/1.233, allocations: 19.98 kB / 1.202 GB, free: 14.33 MB / 0.9356 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 0.000132/1.233, allocations: 200.1 kB / 1.203 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/1.233, allocations: 55.8 kB / 1.203 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/1.233, allocations: 265.6 kB / 1.203 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/1.233, allocations: 3.984 kB / 1.203 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.233, allocations: 0 / 1.203 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.233, allocations: 0 / 1.203 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/1.234, allocations: 0.7395 MB / 1.204 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.234, allocations: 0 / 1.204 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.235, allocations: 32.16 kB / 1.204 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.235, allocations: 4 kB / 1.204 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.235, allocations: 3.938 kB / 1.204 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/1.235, allocations: 8.062 kB / 1.204 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.235, allocations: 4 kB / 1.204 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/1.235, allocations: 353.3 kB / 1.204 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/1.235, allocations: 148.7 kB / 1.204 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/1.235, allocations: 8 kB / 1.204 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/1.236, allocations: 11.98 kB / 1.204 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/1.236, allocations: 19.86 kB / 1.204 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/1.236, allocations: 4 kB / 1.204 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004549/1.236, allocations: 426.8 kB / 1.205 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.236, allocations: 0 / 1.205 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007446/1.237, allocations: 235.6 kB / 1.205 GB, free: 11.72 MB / 0.9356 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.001244/1.238, allocations: 496.5 kB / 1.205 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000735/1.239, allocations: 320.3 kB / 1.206 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.239, allocations: 0 / 1.206 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/1.239, allocations: 95.95 kB / 1.206 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.24, allocations: 255.3 kB / 1.206 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/1.242, allocations: 0.8143 MB / 1.207 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/1.242, allocations: 0.8467 MB / 1.208 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003092/1.242, allocations: 104.2 kB / 1.208 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/1.242, allocations: 43.44 kB / 1.208 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.243, allocations: 0 / 1.208 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of Templates: time 0.01911/1.262, allocations: 10.23 MB / 1.218 GB, free: 14.73 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches