Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_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_9_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.001273/0.001273, allocations: 105.2 kB / 16.41 MB, free: 6.457 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.00134/0.00134, allocations: 187 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.1 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.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 71.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.874, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01774/0.8918, allocations: 15.55 MB / 1.104 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007302/0.8992, allocations: 4.334 MB / 1.108 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000819/0.9, allocations: 17.16 kB / 1.108 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.9012, allocations: 263.6 kB / 1.108 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.9031, allocations: 0.6343 MB / 1.109 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.9054, allocations: 0.7078 MB / 1.11 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.9071, allocations: 1.033 MB / 1.111 GB, free: 6 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005992/0.9077, allocations: 344.3 kB / 1.111 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008574/0.9086, allocations: 431.8 kB / 1.111 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.9091, allocations: 317.9 kB / 1.112 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.9091, allocations: 25.84 kB / 1.112 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.9106, allocations: 0.6311 MB / 1.112 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.9107, allocations: 104.5 kB / 1.112 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.911, allocations: 227.5 kB / 1.113 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.9124, allocations: 0.7556 MB / 1.113 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.9124, allocations: 5.531 kB / 1.113 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9124, allocations: 3.938 kB / 1.113 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.9124, allocations: 0 / 1.113 GB, free: 4.848 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001453/0.9139, allocations: 0.8299 MB / 1.114 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.9139, allocations: 9.438 kB / 1.114 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.9141, allocations: 55.56 kB / 1.114 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.9147, allocations: 436.6 kB / 1.115 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.9148, allocations: 19.91 kB / 1.115 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.9148, allocations: 27.38 kB / 1.115 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.9153, allocations: 210.8 kB / 1.115 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.9153, allocations: 7.938 kB / 1.115 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.9154, allocations: 7.516 kB / 1.115 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.9154, allocations: 4.25 kB / 1.115 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.9158, allocations: 168 kB / 1.115 GB, free: 3.676 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.001686/0.9175, allocations: 0.9445 MB / 1.116 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.9178, allocations: 136.3 kB / 1.116 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.9179, allocations: 71.39 kB / 1.116 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.9183, allocations: 336.1 kB / 1.117 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.9183, allocations: 30.56 kB / 1.117 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 2.594e-06/0.9183, allocations: 1.188 kB / 1.117 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0006807/0.919, allocations: 246.7 kB / 1.117 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.9191, allocations: 53.72 kB / 1.117 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.9197, allocations: 482.7 kB / 1.117 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.9197, allocations: 28.36 kB / 1.117 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.9199, allocations: 241.8 kB / 1.118 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.92, allocations: 41.86 kB / 1.118 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.9201, allocations: 60.75 kB / 1.118 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9203, allocations: 358.4 kB / 1.118 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.9205, allocations: 72.91 kB / 1.118 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.9207, allocations: 152.3 kB / 1.118 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.9212, allocations: 169.2 kB / 1.118 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9212, allocations: 0.5625 kB / 1.118 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007067/0.9219, allocations: 249.4 kB / 1.119 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9219, allocations: 7.234 kB / 1.119 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9219, allocations: 0 / 1.119 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.9219, allocations: 2.469 kB / 1.119 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.9222, allocations: 50.16 kB / 1.119 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.9222, allocations: 3.266 kB / 1.119 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.9226, allocations: 35.61 kB / 1.119 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.9226, allocations: 13.22 kB / 1.119 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003608/0.923, allocations: 187.7 kB / 1.119 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002541/0.9232, allocations: 163.6 kB / 1.119 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003493/0.9236, allocations: 178.1 kB / 1.119 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.9236, allocations: 0 / 1.119 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005391/0.9242, allocations: 249.9 kB / 1.119 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.9242, allocations: 8.75 kB / 1.119 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.9242, allocations: 1.344 kB / 1.119 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.9242, allocations: 2.125 kB / 1.119 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.9244, allocations: 50.45 kB / 1.12 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9244, allocations: 3.391 kB / 1.12 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.9248, allocations: 34.47 kB / 1.12 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.9248, allocations: 12.92 kB / 1.12 GB, free: 0.7148 MB / 0.8731 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.00016/0.925, allocations: 202.1 kB / 1.12 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.925, allocations: 40.05 kB / 1.12 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.9256, allocations: 256.5 kB / 1.12 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.9256, allocations: 6.859 kB / 1.12 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/0.9257, allocations: 4 kB / 1.12 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9257, allocations: 2.641 kB / 1.12 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.9268, allocations: 0.7076 MB / 1.121 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.9268, allocations: 1.375 kB / 1.121 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.9269, allocations: 28.67 kB / 1.121 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.9269, allocations: 1.438 kB / 1.121 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.927, allocations: 3.297 kB / 1.121 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.927, allocations: 10.5 kB / 1.121 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.927, allocations: 1.969 kB / 1.121 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.9275, allocations: 335 kB / 1.121 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.9277, allocations: 143.5 kB / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.9277, allocations: 3.016 kB / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.928, allocations: 18.41 kB / 1.121 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.9281, allocations: 19.84 kB / 1.121 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.9281, allocations: 6.062 kB / 1.121 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004715/0.9285, allocations: 337 kB / 1.122 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9286, allocations: 0 / 1.122 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007621/0.9293, allocations: 197.7 kB / 1.122 GB, free: 15.31 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 (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.001105/0.9304, allocations: 475 kB / 1.122 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006796/0.9311, allocations: 278.1 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9311, allocations: 0 / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.9313, allocations: 80.41 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.9324, allocations: 203.6 kB / 1.123 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.9338, allocations: 0.7347 MB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.9343, allocations: 0.8279 MB / 1.124 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.9344, allocations: 45.28 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.9344, allocations: 0 / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of Templates: time 0.0133/0.9477, allocations: 7.357 MB / 1.132 GB, free: 12.86 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches