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.001593/0.001593, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.001481/0.001481, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.557/1.557, 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 10.1.1-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 71.83 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9859/0.9889, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02151/1.01, allocations: 17.47 MB / 1.184 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008275/1.019, allocations: 4.913 MB / 1.189 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/1.02, allocations: 15.88 kB / 1.189 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009848/1.021, allocations: 262.3 kB / 1.189 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/1.022, allocations: 0.643 MB / 1.19 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/1.025, allocations: 0.7376 MB / 1.191 GB, free: 11.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001489/1.026, allocations: 0.9663 MB / 1.192 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005592/1.027, allocations: 329 kB / 1.192 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008246/1.028, allocations: 426.2 kB / 1.192 GB, free: 10.01 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/1.028, allocations: 314.6 kB / 1.193 GB, free: 9.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/1.028, allocations: 28 kB / 1.193 GB, free: 9.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/1.03, allocations: 0.7292 MB / 1.193 GB, free: 8.941 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/1.03, allocations: 135.6 kB / 1.194 GB, free: 8.809 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/1.03, allocations: 246.6 kB / 1.194 GB, free: 8.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/1.032, allocations: 0.8801 MB / 1.195 GB, free: 7.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.032, allocations: 4 kB / 1.195 GB, free: 7.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/1.032, allocations: 4 kB / 1.195 GB, free: 7.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.032, allocations: 0 / 1.195 GB, free: 7.68 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.001434/1.033, allocations: 0.8904 MB / 1.196 GB, free: 6.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.033, allocations: 8.625 kB / 1.196 GB, free: 6.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/1.033, allocations: 68.56 kB / 1.196 GB, free: 6.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/1.034, allocations: 470 kB / 1.196 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/1.034, allocations: 32.42 kB / 1.196 GB, free: 6.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/1.034, allocations: 28 kB / 1.196 GB, free: 6.109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/1.035, allocations: 286.2 kB / 1.196 GB, free: 5.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.035, allocations: 7.938 kB / 1.196 GB, free: 5.805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/1.035, allocations: 8 kB / 1.196 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.035, allocations: 8 kB / 1.196 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/1.035, allocations: 186.1 kB / 1.197 GB, free: 5.605 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.002047/1.037, allocations: 1.476 MB / 1.198 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/1.038, allocations: 162.8 kB / 1.198 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/1.038, allocations: 80.81 kB / 1.198 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/1.04, allocations: 1.276 MB / 1.2 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.04, allocations: 42.44 kB / 1.2 GB, free: 2.254 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/1.04, allocations: 0 / 1.2 GB, free: 2.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006872/1.04, allocations: 253.2 kB / 1.2 GB, free: 2 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/1.04, allocations: 55.34 kB / 1.2 GB, free: 1.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/1.041, allocations: 0.5848 MB / 1.2 GB, free: 1.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/1.041, allocations: 33.7 kB / 1.201 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/1.042, allocations: 276.4 kB / 1.201 GB, free: 1.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/1.042, allocations: 55.53 kB / 1.201 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.042, allocations: 65.94 kB / 1.201 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.042, allocations: 358.8 kB / 1.201 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/1.042, allocations: 81.92 kB / 1.201 GB, free: 468 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/1.042, allocations: 207.3 kB / 1.201 GB, free: 212 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/1.043, allocations: 247.3 kB / 1.202 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.043, allocations: 4 kB / 1.202 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006248/1.044, allocations: 319 kB / 1.202 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.044, allocations: 11.94 kB / 1.202 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.044, allocations: 0 / 1.202 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.044, allocations: 4.25 kB / 1.202 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/1.044, allocations: 63.91 kB / 1.202 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.044, allocations: 4 kB / 1.202 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/1.044, allocations: 47.75 kB / 1.202 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/1.044, allocations: 12 kB / 1.202 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004655/1.045, allocations: 216.6 kB / 1.202 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004005/1.045, allocations: 213.5 kB / 1.203 GB, free: 15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004492/1.046, allocations: 231.1 kB / 1.203 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/1.046, allocations: 4 kB / 1.203 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006045/1.046, allocations: 305 kB / 1.203 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.046, allocations: 10.66 kB / 1.203 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.046, allocations: 7.938 kB / 1.203 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/1.046, allocations: 4.438 kB / 1.203 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/1.047, allocations: 63.89 kB / 1.203 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.047, allocations: 7.938 kB / 1.203 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/1.047, allocations: 35.88 kB / 1.203 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/1.047, allocations: 19.92 kB / 1.203 GB, free: 14.29 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.000158/1.047, allocations: 200.1 kB / 1.203 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/1.047, allocations: 51.61 kB / 1.203 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/1.048, allocations: 264.1 kB / 1.204 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.048, allocations: 4 kB / 1.204 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.048, allocations: 0 / 1.204 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.048, allocations: 0 / 1.204 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/1.049, allocations: 0.7373 MB / 1.204 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.049, allocations: 4 kB / 1.204 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/1.049, allocations: 31.91 kB / 1.204 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.049, allocations: 4 kB / 1.205 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/1.049, allocations: 12 kB / 1.205 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.049, allocations: 0 / 1.205 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.049, allocations: 4 kB / 1.205 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/1.05, allocations: 350.8 kB / 1.205 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/1.05, allocations: 152.7 kB / 1.205 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/1.05, allocations: 3.984 kB / 1.205 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.05, allocations: 19.98 kB / 1.205 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/1.05, allocations: 11.92 kB / 1.205 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/1.05, allocations: 12 kB / 1.205 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005019/1.051, allocations: 418.8 kB / 1.205 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 0 / 1.205 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007616/1.052, allocations: 231.6 kB / 1.206 GB, free: 11.69 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.001713/1.053, allocations: 0.49 MB / 1.206 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007729/1.054, allocations: 323.5 kB / 1.206 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.054, allocations: 3.938 kB / 1.206 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/1.054, allocations: 85.08 kB / 1.207 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/1.056, allocations: 248 kB / 1.207 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.057, allocations: 0.8201 MB / 1.208 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/1.058, allocations: 0.8428 MB / 1.208 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003151/1.058, allocations: 104.6 kB / 1.208 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.033e-05/1.058, allocations: 43.44 kB / 1.209 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.058, allocations: 0 / 1.209 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.02167/1.08, allocations: 10.27 MB / 1.219 GB, free: 14.67 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 -s cvode -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/jenkins1/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