Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007574/0.007574, allocations: 99.62 kB / 15.73 MB, free: 6.488 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.001669/0.001669, allocations: 196.6 kB / 16.68 MB, free: 6.371 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.44/1.44, 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 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3678, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01966/0.3875, allocations: 17.49 MB / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00899/0.3965, allocations: 4.932 MB / 1.243 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.3975, allocations: 11.94 kB / 1.243 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3987, allocations: 262.3 kB / 1.243 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.4005, allocations: 0.6336 MB / 1.243 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.4025, allocations: 0.7354 MB / 1.244 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.4039, allocations: 0.9702 MB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.4043, allocations: 285 kB / 1.245 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.405, allocations: 426.4 kB / 1.246 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.4054, allocations: 318.6 kB / 1.246 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.4055, allocations: 28 kB / 1.246 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.4067, allocations: 0.7253 MB / 1.247 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.4069, allocations: 139.4 kB / 1.247 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.4071, allocations: 246.6 kB / 1.247 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.4084, allocations: 0.8912 MB / 1.248 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4084, allocations: 4 kB / 1.248 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4084, allocations: 0 / 1.248 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.4084, allocations: 0 / 1.248 GB, free: 1.656 MB / 0.9981 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.001451/0.4099, allocations: 0.8942 MB / 1.249 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4099, allocations: 8.031 kB / 1.249 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.4101, allocations: 68.55 kB / 1.249 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006986/0.4108, allocations: 462.2 kB / 1.249 GB, free: 152 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.4108, allocations: 24.5 kB / 1.249 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.4109, allocations: 28 kB / 1.249 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7504/1.161, allocations: 283.8 kB / 1.25 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.161, allocations: 0.6562 kB / 1.25 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/1.161, allocations: 10 kB / 1.25 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.161, allocations: 6.922 kB / 1.25 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/1.162, allocations: 189.4 kB / 1.25 GB, free: 31.95 MB / 0.9981 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.002315/1.164, allocations: 1.476 MB / 1.251 GB, free: 31.13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/1.165, allocations: 149.8 kB / 1.252 GB, free: 31.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/1.165, allocations: 83.06 kB / 1.252 GB, free: 31.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.166, allocations: 1.271 MB / 1.253 GB, free: 29.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.166, allocations: 36.94 kB / 1.253 GB, free: 29.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.166, allocations: 0.7188 kB / 1.253 GB, free: 29.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007343/1.167, allocations: 257.3 kB / 1.253 GB, free: 29.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.167, allocations: 53.56 kB / 1.253 GB, free: 29.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/1.168, allocations: 0.587 MB / 1.254 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/1.168, allocations: 32.69 kB / 1.254 GB, free: 29.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/1.168, allocations: 270.4 kB / 1.254 GB, free: 29.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/1.169, allocations: 56.81 kB / 1.254 GB, free: 29.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/1.169, allocations: 72.5 kB / 1.254 GB, free: 29.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.169, allocations: 363.2 kB / 1.254 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/1.169, allocations: 78.64 kB / 1.255 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/1.169, allocations: 216.4 kB / 1.255 GB, free: 29.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/1.17, allocations: 237.9 kB / 1.255 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.17, allocations: 0.8125 kB / 1.255 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007452/1.171, allocations: 311.3 kB / 1.255 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/1.171, allocations: 6.312 kB / 1.255 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/1.171, allocations: 6.594 kB / 1.255 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/1.171, allocations: 7.906 kB / 1.255 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/1.171, allocations: 66.3 kB / 1.255 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.171, allocations: 4.281 kB / 1.255 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/1.172, allocations: 44.59 kB / 1.255 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/1.172, allocations: 14.56 kB / 1.255 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000388/1.172, allocations: 214.6 kB / 1.256 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003613/1.172, allocations: 216.2 kB / 1.256 GB, free: 28.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000433/1.173, allocations: 223.4 kB / 1.256 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.173, allocations: 0.8438 kB / 1.256 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006565/1.173, allocations: 314.7 kB / 1.256 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.173, allocations: 11.25 kB / 1.256 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/1.173, allocations: 2.688 kB / 1.256 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/1.173, allocations: 7.594 kB / 1.256 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.174, allocations: 58.05 kB / 1.256 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.174, allocations: 13.94 kB / 1.256 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.174, allocations: 44.34 kB / 1.256 GB, free: 28.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.174, allocations: 14.61 kB / 1.257 GB, free: 28.45 MB / 0.9981 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.0001144/1.174, allocations: 201.3 kB / 1.257 GB, free: 28.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/1.174, allocations: 49.42 kB / 1.257 GB, free: 28.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/1.175, allocations: 263.1 kB / 1.257 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.175, allocations: 4.812 kB / 1.257 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.175, allocations: 0.7188 kB / 1.257 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.175, allocations: 0.7188 kB / 1.257 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/1.176, allocations: 0.7317 MB / 1.258 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.176, allocations: 1.594 kB / 1.258 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.176, allocations: 34.05 kB / 1.258 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/1.176, allocations: 2.844 kB / 1.258 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/1.176, allocations: 4.156 kB / 1.258 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.176, allocations: 1.688 kB / 1.258 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.176, allocations: 2.344 kB / 1.258 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/1.177, allocations: 358.7 kB / 1.258 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.177, allocations: 157.7 kB / 1.258 GB, free: 27.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/1.177, allocations: 3.062 kB / 1.258 GB, free: 27.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.177, allocations: 12.7 kB / 1.258 GB, free: 27.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/1.177, allocations: 18.88 kB / 1.258 GB, free: 27.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.177, allocations: 5.969 kB / 1.258 GB, free: 27.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004954/1.178, allocations: 420.4 kB / 1.259 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.178, allocations: 1.281 kB / 1.259 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009122/1.179, allocations: 230.9 kB / 1.259 GB, free: 27.42 MB / 0.9981 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.001228/1.18, allocations: 0.4975 MB / 1.259 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007625/1.181, allocations: 308.4 kB / 1.26 GB, free: 27.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.181, allocations: 0.9844 kB / 1.26 GB, free: 27.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/1.181, allocations: 82.91 kB / 1.26 GB, free: 27.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.182, allocations: 251.9 kB / 1.26 GB, free: 27.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/1.183, allocations: 0.8173 MB / 1.261 GB, free: 26.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/1.184, allocations: 0.8488 MB / 1.262 GB, free: 26.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003485/1.184, allocations: 104.1 kB / 1.262 GB, free: 26.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/1.184, allocations: 45.36 kB / 1.262 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.184, allocations: 0 / 1.262 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of Templates: time 0.02632/1.21, allocations: 10.28 MB / 1.272 GB, free: 25.27 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches