Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00173/0.00173, allocations: 102.5 kB / 16.4 MB, free: 6.461 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.002137/0.002137, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.608/1.608, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.081, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02547/1.107, allocations: 17.45 MB / 1.106 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00944/1.116, allocations: 4.907 MB / 1.11 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/1.117, allocations: 18.59 kB / 1.11 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/1.118, allocations: 263.5 kB / 1.111 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/1.121, allocations: 0.6057 MB / 1.111 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/1.124, allocations: 0.7428 MB / 1.112 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001921/1.126, allocations: 0.9646 MB / 1.113 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008041/1.127, allocations: 333.5 kB / 1.113 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/1.128, allocations: 427.4 kB / 1.114 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/1.129, allocations: 311 kB / 1.114 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/1.129, allocations: 28.44 kB / 1.114 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/1.131, allocations: 0.7295 MB / 1.115 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/1.131, allocations: 132.1 kB / 1.115 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005705/1.132, allocations: 246.2 kB / 1.115 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/1.134, allocations: 0.8759 MB / 1.116 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.134, allocations: 1.438 kB / 1.116 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.212e-06/1.134, allocations: 0 / 1.116 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.244e-05/1.134, allocations: 0 / 1.116 GB, free: 3.031 MB / 0.8731 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.002325/1.137, allocations: 0.8776 MB / 1.117 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.137, allocations: 9.812 kB / 1.117 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/1.137, allocations: 59.19 kB / 1.117 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.138, allocations: 472.1 kB / 1.117 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/1.138, allocations: 24 kB / 1.117 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/1.138, allocations: 28.02 kB / 1.117 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/1.139, allocations: 282.3 kB / 1.118 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/1.139, allocations: 0 / 1.118 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/1.139, allocations: 10.72 kB / 1.118 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/1.139, allocations: 11.58 kB / 1.118 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/1.14, allocations: 188.2 kB / 1.118 GB, free: 1.738 MB / 0.8731 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.002707/1.142, allocations: 1.477 MB / 1.119 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/1.143, allocations: 169.9 kB / 1.119 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/1.143, allocations: 80.55 kB / 1.12 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/1.145, allocations: 1.275 MB / 1.121 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/1.145, allocations: 37.16 kB / 1.121 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/1.145, allocations: 0 / 1.121 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0007433/1.146, allocations: 248.2 kB / 1.121 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.146, allocations: 56.72 kB / 1.121 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.147, allocations: 0.5878 MB / 1.122 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/1.147, allocations: 27.86 kB / 1.122 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/1.147, allocations: 269.8 kB / 1.122 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/1.147, allocations: 58.84 kB / 1.122 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.147, allocations: 70.88 kB / 1.122 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.147, allocations: 356.6 kB / 1.122 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/1.148, allocations: 83.75 kB / 1.123 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/1.148, allocations: 206.5 kB / 1.123 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/1.149, allocations: 239.4 kB / 1.123 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.149, allocations: 1.156 kB / 1.123 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007634/1.149, allocations: 312.1 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.149, allocations: 13.78 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.149, allocations: 3.516 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.149, allocations: 4.25 kB / 1.123 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/1.15, allocations: 60.88 kB / 1.123 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.15, allocations: 3.844 kB / 1.123 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/1.15, allocations: 45.91 kB / 1.123 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/1.15, allocations: 20.09 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003789/1.151, allocations: 214.6 kB / 1.124 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000358/1.151, allocations: 211 kB / 1.124 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004734/1.151, allocations: 235.6 kB / 1.124 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/1.152, allocations: 1.375 kB / 1.124 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006957/1.152, allocations: 306 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.152, allocations: 6.75 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.152, allocations: 6.625 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/1.152, allocations: 4.781 kB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/1.153, allocations: 63.62 kB / 1.124 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.153, allocations: 4.25 kB / 1.124 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/1.153, allocations: 35.08 kB / 1.124 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/1.153, allocations: 19.22 kB / 1.124 GB, free: 13.01 MB / 0.8887 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.0001782/1.153, allocations: 201.8 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.153, allocations: 54.5 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/1.154, allocations: 258.2 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.154, allocations: 3.016 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.154, allocations: 4 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.154, allocations: 1.828 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/1.155, allocations: 0.7314 MB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.155, allocations: 3.234 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/1.156, allocations: 32.5 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.156, allocations: 6.375 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.156, allocations: 3.062 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.156, allocations: 2.281 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.156, allocations: 2.078 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/1.156, allocations: 364.3 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/1.157, allocations: 146.5 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.157, allocations: 11.27 kB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/1.157, allocations: 12.78 kB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/1.157, allocations: 19.11 kB / 1.126 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/1.157, allocations: 6.234 kB / 1.126 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008089/1.158, allocations: 425 kB / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.11e-07/1.158, allocations: 0 / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001433/1.159, allocations: 227.5 kB / 1.127 GB, free: 11.54 MB / 0.8887 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.001588/1.161, allocations: 0.4979 MB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008871/1.162, allocations: 316.5 kB / 1.128 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.162, allocations: 5.25 kB / 1.128 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/1.162, allocations: 89.86 kB / 1.128 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.164, allocations: 255.9 kB / 1.128 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/1.165, allocations: 0.8335 MB / 1.129 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/1.166, allocations: 0.8424 MB / 1.13 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.166, allocations: 44.92 kB / 1.13 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/1.166, allocations: 0 / 1.13 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of Templates: time 0.02165/1.188, allocations: 8.564 MB / 1.138 GB, free: 8.891 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches