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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000882/0.000882, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005062/0.005062, allocations: 172 kB / 16.27 MB, free: 6.66 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.337/2.337, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 8 kB / 0.8729 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5682, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01573/0.584, allocations: 14.97 MB / 1.038 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005902/0.5899, allocations: 4.293 MB / 1.042 GB, free: 12.48 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.5905, allocations: 19.81 kB / 1.042 GB, free: 12.46 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008216/0.5914, allocations: 226.8 kB / 1.042 GB, free: 12.24 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.5929, allocations: 0.552 MB / 1.043 GB, free: 11.68 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.5945, allocations: 0.6277 MB / 1.043 GB, free: 11.06 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.596, allocations: 1.298 MB / 1.045 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.5965, allocations: 290.1 kB / 1.045 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.5972, allocations: 382.3 kB / 1.045 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.5977, allocations: 318.5 kB / 1.046 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.5978, allocations: 12 kB / 1.046 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.5988, allocations: 0.6004 MB / 1.046 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.599, allocations: 87.53 kB / 1.046 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.5992, allocations: 240.4 kB / 1.046 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.6002, allocations: 0.7243 MB / 1.047 GB, free: 7.121 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6002, allocations: 0 / 1.047 GB, free: 7.121 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6002, allocations: 3.938 kB / 1.047 GB, free: 7.117 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.6002, allocations: 4 kB / 1.047 GB, free: 7.113 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.001124/0.6014, allocations: 0.7475 MB / 1.048 GB, free: 6.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6014, allocations: 8.031 kB / 1.048 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.223e-05/0.6015, allocations: 58.72 kB / 1.048 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.6016, allocations: 60.31 kB / 1.048 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.6021, allocations: 421 kB / 1.048 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.6022, allocations: 20.44 kB / 1.048 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.6022, allocations: 28 kB / 1.048 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.6026, allocations: 207.2 kB / 1.049 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6026, allocations: 4 kB / 1.049 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.6027, allocations: 8 kB / 1.049 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6027, allocations: 8 kB / 1.049 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.603, allocations: 173.6 kB / 1.049 GB, free: 5.289 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.001527/0.6046, allocations: 0.9612 MB / 1.05 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.6049, allocations: 142.6 kB / 1.05 GB, free: 4.098 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.605, allocations: 72.81 kB / 1.05 GB, free: 4.023 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.6053, allocations: 340.4 kB / 1.05 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.6053, allocations: 30.56 kB / 1.05 GB, free: 3.578 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.6054, allocations: 4 kB / 1.05 GB, free: 3.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.000611/0.606, allocations: 260.1 kB / 1.051 GB, free: 3.316 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.606, allocations: 55.41 kB / 1.051 GB, free: 3.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.6065, allocations: 478 kB / 1.051 GB, free: 2.77 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.6065, allocations: 33.69 kB / 1.051 GB, free: 2.73 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.6067, allocations: 224.6 kB / 1.051 GB, free: 2.508 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.6067, allocations: 51.42 kB / 1.051 GB, free: 2.457 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.6068, allocations: 29.66 kB / 1.051 GB, free: 2.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6069, allocations: 354.7 kB / 1.052 GB, free: 2.066 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.6071, allocations: 79.95 kB / 1.052 GB, free: 1.988 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.6074, allocations: 154 kB / 1.052 GB, free: 1.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.6077, allocations: 174.4 kB / 1.052 GB, free: 1.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6077, allocations: 0 / 1.052 GB, free: 1.633 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004902/0.6082, allocations: 269.9 kB / 1.052 GB, free: 1.363 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/0.6083, allocations: 103.8 kB / 1.053 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.6083, allocations: 8 kB / 1.053 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.6083, allocations: 0 / 1.053 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.6085, allocations: 51.91 kB / 1.053 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6085, allocations: 7.938 kB / 1.053 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.6089, allocations: 51.64 kB / 1.053 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.6089, allocations: 12 kB / 1.053 GB, free: 1.121 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.6089, allocations: 4 kB / 1.053 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003993/0.6093, allocations: 182.2 kB / 1.053 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.6093, allocations: 0 / 1.053 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/0.6094, allocations: 4.094 kB / 1.053 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.6096, allocations: 55.84 kB / 1.053 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.6096, allocations: 0 / 1.053 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.6099, allocations: 47.72 kB / 1.053 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.6099, allocations: 11.98 kB / 1.053 GB, free: 0.8242 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.0001779/0.6101, allocations: 245 kB / 1.053 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.6102, allocations: 39.53 kB / 1.053 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.6107, allocations: 265.2 kB / 1.053 GB, free: 272 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6107, allocations: 0 / 1.053 GB, free: 272 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6107, allocations: 4 kB / 1.053 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6107, allocations: 4 kB / 1.053 GB, free: 264 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.6116, allocations: 0.7122 MB / 1.054 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6117, allocations: 7.938 kB / 1.054 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.6118, allocations: 31.97 kB / 1.054 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6118, allocations: 0 / 1.054 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.6118, allocations: 8 kB / 1.054 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6118, allocations: 3.938 kB / 1.054 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6118, allocations: 4 kB / 1.054 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.6123, allocations: 350.3 kB / 1.055 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6124, allocations: 152.5 kB / 1.055 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.6125, allocations: 0 / 1.055 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6127, allocations: 27.92 kB / 1.055 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.6128, allocations: 15.97 kB / 1.055 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.6128, allocations: 8 kB / 1.055 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003369/0.6131, allocations: 338.9 kB / 1.055 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.382e-06/0.6131, allocations: 0 / 1.055 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005998/0.6138, allocations: 207.5 kB / 1.055 GB, free: 14.3 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.001609/0.6154, allocations: 1.265 MB / 1.057 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006089/0.616, allocations: 272 kB / 1.057 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.616, allocations: 4 kB / 1.057 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.6162, allocations: 87.88 kB / 1.057 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.6175, allocations: 222.6 kB / 1.057 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.6218, allocations: 3.546 MB / 1.061 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.6222, allocations: 0.827 MB / 1.061 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002928/0.6225, allocations: 95.16 kB / 1.061 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.6227, allocations: 139.4 kB / 1.062 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.6227, allocations: 3.938 kB / 1.062 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.001/3.624, allocations: 12.15 MB / 1.073 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/3.624, allocations: 253.6 kB / 1.074 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/5.876, allocations: 3.75 kB / 1.074 GB, free: 11.69 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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