Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.006995/0.006995, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001622/0.001622, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 472.6 MB / 0.7453 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 67.89 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.357, allocations: 159.9 MB / 1.226 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.022/0.379, allocations: 15.56 MB / 1.241 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007487/0.3866, allocations: 4.331 MB / 1.245 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009597/0.3876, allocations: 15.88 kB / 1.245 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.3889, allocations: 266.3 kB / 1.245 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.3911, allocations: 0.6023 MB / 1.246 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.3934, allocations: 0.7022 MB / 1.247 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.3952, allocations: 1.038 MB / 1.248 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006882/0.3959, allocations: 335.8 kB / 1.248 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009664/0.3969, allocations: 426.3 kB / 1.248 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006276/0.3975, allocations: 322.5 kB / 1.249 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3976, allocations: 28 kB / 1.249 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.399, allocations: 0.6317 MB / 1.249 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3992, allocations: 99.55 kB / 1.249 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.3995, allocations: 230.7 kB / 1.25 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.887/1.286, allocations: 0.7623 MB / 1.25 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.287, allocations: 0 / 1.25 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.524e-06/1.287, allocations: 0.8125 kB / 1.25 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.008e-05/1.287, allocations: 0 / 1.25 GB, free: 8.91 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00148/1.288, allocations: 0.8467 MB / 1.251 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.288, allocations: 9.875 kB / 1.251 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/1.288, allocations: 64.38 kB / 1.251 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/1.289, allocations: 427 kB / 1.252 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/1.289, allocations: 25.59 kB / 1.252 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/1.289, allocations: 30.25 kB / 1.252 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/1.29, allocations: 212.9 kB / 1.252 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.29, allocations: 0 / 1.252 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/1.29, allocations: 10.72 kB / 1.252 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/1.29, allocations: 5.203 kB / 1.252 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/1.29, allocations: 165.9 kB / 1.252 GB, free: 7.996 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.001603/1.292, allocations: 0.9411 MB / 1.253 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/1.292, allocations: 137.1 kB / 1.253 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/1.292, allocations: 75.84 kB / 1.253 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/1.292, allocations: 338.9 kB / 1.253 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.292, allocations: 32.27 kB / 1.254 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 2.003e-06/1.292, allocations: 0.6094 kB / 1.254 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006681/1.293, allocations: 249.9 kB / 1.254 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/1.293, allocations: 53.44 kB / 1.254 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/1.294, allocations: 476.6 kB / 1.254 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/1.294, allocations: 31.42 kB / 1.254 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/1.294, allocations: 231.4 kB / 1.255 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/1.294, allocations: 55.25 kB / 1.255 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.294, allocations: 57.89 kB / 1.255 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.294, allocations: 355.4 kB / 1.255 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.294, allocations: 70.52 kB / 1.255 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/1.295, allocations: 153.8 kB / 1.255 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/1.295, allocations: 160.5 kB / 1.255 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/1.295, allocations: 3.75 kB / 1.255 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005477/1.296, allocations: 261.4 kB / 1.256 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.296, allocations: 5.562 kB / 1.256 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.296, allocations: 1.625 kB / 1.256 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.296, allocations: 2.812 kB / 1.256 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/1.296, allocations: 50.14 kB / 1.256 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.296, allocations: 1.75 kB / 1.256 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/1.296, allocations: 37.83 kB / 1.256 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/1.296, allocations: 10.38 kB / 1.256 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002684/1.297, allocations: 194.8 kB / 1.256 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002363/1.297, allocations: 165.2 kB / 1.256 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003265/1.297, allocations: 172.2 kB / 1.256 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/1.297, allocations: 0.8438 kB / 1.256 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004899/1.298, allocations: 252.9 kB / 1.256 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.298, allocations: 12.16 kB / 1.256 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.298, allocations: 1.031 kB / 1.256 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/1.298, allocations: 2.062 kB / 1.256 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/1.298, allocations: 47.61 kB / 1.256 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/1.298, allocations: 2.062 kB / 1.256 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/1.298, allocations: 37.19 kB / 1.257 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/1.298, allocations: 11.66 kB / 1.257 GB, free: 5.906 MB / 0.9981 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 7.978e-05/1.298, allocations: 206 kB / 1.257 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/1.298, allocations: 46.58 kB / 1.257 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/1.299, allocations: 241.8 kB / 1.257 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.299, allocations: 3.234 kB / 1.257 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.299, allocations: 1 kB / 1.257 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.299, allocations: 3.469 kB / 1.257 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/1.3, allocations: 0.711 MB / 1.258 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.3, allocations: 1.031 kB / 1.258 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/1.3, allocations: 26.48 kB / 1.258 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/1.3, allocations: 3.281 kB / 1.258 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/1.3, allocations: 5.359 kB / 1.258 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.3, allocations: 9.156 kB / 1.258 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.3, allocations: 0.9688 kB / 1.258 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/1.301, allocations: 350.8 kB / 1.258 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/1.301, allocations: 138.2 kB / 1.258 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/1.301, allocations: 5.922 kB / 1.258 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.301, allocations: 17.97 kB / 1.258 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/1.301, allocations: 15.22 kB / 1.258 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/1.301, allocations: 9.75 kB / 1.258 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003966/1.302, allocations: 332.7 kB / 1.259 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.302, allocations: 4 kB / 1.259 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007352/1.302, allocations: 202.1 kB / 1.259 GB, free: 4.859 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 (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.001152/1.303, allocations: 487.7 kB / 1.259 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006352/1.304, allocations: 269.3 kB / 1.26 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.304, allocations: 0 / 1.26 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/1.304, allocations: 84.47 kB / 1.26 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/1.305, allocations: 198.5 kB / 1.26 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.306, allocations: 0.7081 MB / 1.26 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/1.307, allocations: 0.8312 MB / 1.261 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002533/1.307, allocations: 93.47 kB / 1.261 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/1.307, allocations: 39.06 kB / 1.261 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.307, allocations: 0 / 1.261 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of Templates: time 0.01725/1.324, allocations: 8.506 MB / 1.27 GB, free: 2.953 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches