Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 190.3 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.545/2.545, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 68.12 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5537, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01705/0.5708, allocations: 15.54 MB / 1.033 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006037/0.5768, allocations: 4.334 MB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.5774, allocations: 19.88 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.5782, allocations: 258.4 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.5798, allocations: 0.6062 MB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.5815, allocations: 0.7146 MB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.5827, allocations: 1.017 MB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.5832, allocations: 334 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.5839, allocations: 414.4 kB / 1.04 GB, free: 11.14 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.5843, allocations: 330.5 kB / 1.04 GB, free: 10.81 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.701e-05/0.5844, allocations: 24 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.5855, allocations: 0.6239 MB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.5856, allocations: 107.6 kB / 1.041 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.5859, allocations: 218.8 kB / 1.041 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.587, allocations: 0.7594 MB / 1.042 GB, free: 9.082 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.587, allocations: 0 / 1.042 GB, free: 9.082 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5871, allocations: 7.875 kB / 1.042 GB, free: 9.074 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.5871, allocations: 0 / 1.042 GB, free: 9.074 MB / 0.795 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.001414/0.5885, allocations: 0.8291 MB / 1.043 GB, free: 8.191 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5885, allocations: 12.03 kB / 1.043 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.5886, allocations: 58.72 kB / 1.043 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.5887, allocations: 52.28 kB / 1.043 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.5893, allocations: 417.3 kB / 1.043 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5893, allocations: 16.44 kB / 1.043 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.5894, allocations: 28 kB / 1.043 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.5898, allocations: 211.2 kB / 1.044 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5898, allocations: 0 / 1.044 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.5898, allocations: 15.94 kB / 1.044 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5898, allocations: 8 kB / 1.044 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.5902, allocations: 161.6 kB / 1.044 GB, free: 7.176 MB / 0.795 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.001615/0.5918, allocations: 0.9496 MB / 1.045 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.5921, allocations: 130.6 kB / 1.045 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.5923, allocations: 68.83 kB / 1.045 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.5926, allocations: 340.5 kB / 1.045 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5926, allocations: 38.5 kB / 1.045 GB, free: 5.492 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.5926, allocations: 0 / 1.045 GB, free: 5.492 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0006135/0.5932, allocations: 242.8 kB / 1.046 GB, free: 5.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.5933, allocations: 55.41 kB / 1.046 GB, free: 5.184 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.5938, allocations: 478 kB / 1.046 GB, free: 4.703 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.5938, allocations: 29.7 kB / 1.046 GB, free: 4.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.594, allocations: 228.5 kB / 1.046 GB, free: 4.441 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.594, allocations: 47.36 kB / 1.046 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.5941, allocations: 61.62 kB / 1.046 GB, free: 4.328 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5942, allocations: 350.7 kB / 1.047 GB, free: 3.977 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.5944, allocations: 84.75 kB / 1.047 GB, free: 3.891 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.5947, allocations: 147.7 kB / 1.047 GB, free: 3.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.5951, allocations: 163.8 kB / 1.047 GB, free: 3.551 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5951, allocations: 0 / 1.047 GB, free: 3.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005406/0.5956, allocations: 256.9 kB / 1.047 GB, free: 3.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5957, allocations: 5.875 kB / 1.047 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5957, allocations: 3.984 kB / 1.047 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5957, allocations: 4 kB / 1.047 GB, free: 3.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.5959, allocations: 47.97 kB / 1.047 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.596, allocations: 3.938 kB / 1.047 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.5963, allocations: 35.77 kB / 1.047 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.5963, allocations: 11.98 kB / 1.047 GB, free: 3.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002901/0.5966, allocations: 200.1 kB / 1.048 GB, free: 2.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002582/0.5969, allocations: 166.6 kB / 1.048 GB, free: 2.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003264/0.5972, allocations: 163.2 kB / 1.048 GB, free: 2.617 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.5972, allocations: 0 / 1.048 GB, free: 2.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005268/0.5978, allocations: 264.9 kB / 1.048 GB, free: 2.352 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.5978, allocations: 4 kB / 1.048 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.5978, allocations: 0 / 1.048 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.5978, allocations: 4 kB / 1.048 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.598, allocations: 47.91 kB / 1.048 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.598, allocations: 0 / 1.048 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.5984, allocations: 31.97 kB / 1.048 GB, free: 2.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.5984, allocations: 16.06 kB / 1.048 GB, free: 2.25 MB / 0.795 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.0001114/0.5985, allocations: 196.1 kB / 1.049 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.5986, allocations: 47.38 kB / 1.049 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.5991, allocations: 241.2 kB / 1.049 GB, free: 1.762 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.5991, allocations: 8 kB / 1.049 GB, free: 1.754 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5992, allocations: 7.922 kB / 1.049 GB, free: 1.746 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5992, allocations: 0 / 1.049 GB, free: 1.746 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.6001, allocations: 0.6966 MB / 1.049 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6001, allocations: 4.125 kB / 1.049 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.6003, allocations: 31.92 kB / 1.05 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.6003, allocations: 4 kB / 1.05 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6003, allocations: 7.938 kB / 1.05 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.6003, allocations: 7.984 kB / 1.05 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6003, allocations: 0 / 1.05 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.6008, allocations: 344.1 kB / 1.05 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.601, allocations: 132.5 kB / 1.05 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.601, allocations: 15.92 kB / 1.05 GB, free: 408 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.6012, allocations: 7.984 kB / 1.05 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.6013, allocations: 20.12 kB / 1.05 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.6013, allocations: 4 kB / 1.05 GB, free: 376 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003407/0.6017, allocations: 334.9 kB / 1.05 GB, free: 44 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6017, allocations: 0 / 1.05 GB, free: 44 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006532/0.6023, allocations: 203.6 kB / 1.051 GB, free: 15.84 MB / 0.8106 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.001665/0.604, allocations: 1.258 MB / 1.052 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006479/0.6047, allocations: 277.2 kB / 1.052 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6047, allocations: 4 kB / 1.052 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.6049, allocations: 91.95 kB / 1.052 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6059, allocations: 195.3 kB / 1.052 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.6101, allocations: 3.38 MB / 1.056 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.6105, allocations: 0.827 MB / 1.056 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002966/0.6108, allocations: 91.52 kB / 1.057 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.611, allocations: 143.4 kB / 1.057 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.611, allocations: 0 / 1.057 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.6418, allocations: 12.68 MB / 1.069 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/8.183, allocations: 13.73 kB / 1.069 GB, free: 13.11 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches