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.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.TwoWayValveTable,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.0008809/0.000881, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005383/0.005383, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.251/1.251, 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.347/2.347, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4839, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0139/0.4978, allocations: 16.86 MB / 1.04 GB, free: 14.95 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005122/0.503, allocations: 4.868 MB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.5032, allocations: 11.88 kB / 1.044 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.5037, allocations: 210.9 kB / 1.045 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.5046, allocations: 0.5595 MB / 1.045 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.5058, allocations: 0.6442 MB / 1.046 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.5069, allocations: 1.267 MB / 1.047 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.5072, allocations: 286.4 kB / 1.047 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.5077, allocations: 378.4 kB / 1.048 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.508, allocations: 302.6 kB / 1.048 GB, free: 6.434 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.508, allocations: 16 kB / 1.048 GB, free: 6.418 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/0.5089, allocations: 0.694 MB / 1.049 GB, free: 5.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.509, allocations: 115.6 kB / 1.049 GB, free: 5.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.5092, allocations: 256.3 kB / 1.049 GB, free: 5.352 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.51, allocations: 0.8489 MB / 1.05 GB, free: 4.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.51, allocations: 0 / 1.05 GB, free: 4.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.51, allocations: 4 kB / 1.05 GB, free: 4.496 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.51, allocations: 3.938 kB / 1.05 GB, free: 4.492 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009265/0.511, allocations: 0.7864 MB / 1.051 GB, free: 3.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.511, allocations: 12.02 kB / 1.051 GB, free: 3.645 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.5111, allocations: 58.73 kB / 1.051 GB, free: 3.578 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.5112, allocations: 64.28 kB / 1.051 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.5117, allocations: 453.4 kB / 1.051 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.5117, allocations: 24.56 kB / 1.051 GB, free: 3.008 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.5117, allocations: 31.98 kB / 1.051 GB, free: 2.977 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.5122, allocations: 290.2 kB / 1.051 GB, free: 2.676 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5122, allocations: 7.938 kB / 1.051 GB, free: 2.668 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.5122, allocations: 4 kB / 1.051 GB, free: 2.664 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.5122, allocations: 8 kB / 1.051 GB, free: 2.656 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.5126, allocations: 198 kB / 1.052 GB, free: 2.461 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.001503/0.5141, allocations: 1.48 MB / 1.053 GB, free: 0.875 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.5144, allocations: 158.8 kB / 1.053 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.5146, allocations: 96.8 kB / 1.053 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.5159, allocations: 1.292 MB / 1.055 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.516, allocations: 34.5 kB / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.143e-06/0.516, allocations: 0 / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0005456/0.5165, allocations: 267.3 kB / 1.055 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.5166, allocations: 59.39 kB / 1.055 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.5171, allocations: 0.5847 MB / 1.056 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.5171, allocations: 25.7 kB / 1.056 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.5173, allocations: 276.1 kB / 1.056 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.5173, allocations: 47.3 kB / 1.056 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.5174, allocations: 33.7 kB / 1.056 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5175, allocations: 358.8 kB / 1.056 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.5177, allocations: 76.52 kB / 1.056 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.5179, allocations: 214.7 kB / 1.057 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.5183, allocations: 258.7 kB / 1.057 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5183, allocations: 0 / 1.057 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005146/0.5189, allocations: 326 kB / 1.057 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.5189, allocations: 161.8 kB / 1.057 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.519, allocations: 4 kB / 1.057 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.519, allocations: 8 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.5192, allocations: 59.91 kB / 1.057 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5192, allocations: 7.984 kB / 1.057 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.5195, allocations: 51.61 kB / 1.057 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.5196, allocations: 15.98 kB / 1.057 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.5196, allocations: 8.094 kB / 1.057 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004321/0.52, allocations: 249.4 kB / 1.058 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.52, allocations: 8.25 kB / 1.058 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.52, allocations: 7.938 kB / 1.058 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.5202, allocations: 59.91 kB / 1.058 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5203, allocations: 7.938 kB / 1.058 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.5205, allocations: 51.66 kB / 1.058 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.5206, allocations: 16 kB / 1.058 GB, free: 11.72 MB / 0.8106 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.0001719/0.5207, allocations: 258.3 kB / 1.058 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.5208, allocations: 51.42 kB / 1.058 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.5213, allocations: 273.6 kB / 1.058 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5213, allocations: 7.984 kB / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5213, allocations: 0 / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5213, allocations: 0 / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/0.5222, allocations: 0.7434 MB / 1.059 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5222, allocations: 4 kB / 1.059 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.5224, allocations: 35.92 kB / 1.059 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5224, allocations: 0 / 1.059 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5224, allocations: 8 kB / 1.059 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5224, allocations: 8.109 kB / 1.059 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5224, allocations: 4 kB / 1.059 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.5228, allocations: 364 kB / 1.059 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.523, allocations: 148.7 kB / 1.06 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.523, allocations: 7.984 kB / 1.06 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5232, allocations: 31.83 kB / 1.06 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.5233, allocations: 15.97 kB / 1.06 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.5233, allocations: 4 kB / 1.06 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004034/0.5237, allocations: 422.8 kB / 1.06 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5237, allocations: 0 / 1.06 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005965/0.5243, allocations: 227.7 kB / 1.06 GB, free: 9.016 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 (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.001503/0.5258, allocations: 1.287 MB / 1.062 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006047/0.5264, allocations: 337.6 kB / 1.062 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5265, allocations: 0 / 1.062 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.5266, allocations: 99.45 kB / 1.062 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5279, allocations: 253.8 kB / 1.062 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/0.5323, allocations: 4.201 MB / 1.066 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5327, allocations: 0.8546 MB / 1.067 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.533, allocations: 100.2 kB / 1.067 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.5332, allocations: 167.4 kB / 1.067 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.5332, allocations: 0 / 1.067 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.49/2.023, allocations: 14.19 MB / 1.081 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/2.023, allocations: 251.2 kB / 1.081 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/4.741, allocations: 7.938 kB / 1.081 GB, free: 3.48 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > 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