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.007622/0.007622, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.002145/0.002146, allocations: 198.5 kB / 16.68 MB, free: 5.961 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.62/2.62, allocations: 437.1 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.91 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7222/0.7241, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02954/0.7536, allocations: 15.55 MB / 1.181 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.7654, allocations: 4.33 MB / 1.186 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000836/0.7663, allocations: 19.88 kB / 1.186 GB, free: 15.79 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.7675, allocations: 262.4 kB / 1.186 GB, free: 15.53 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.7698, allocations: 0.6023 MB / 1.186 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.7727, allocations: 0.7077 MB / 1.187 GB, free: 14.22 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002286/0.775, allocations: 1.037 MB / 1.188 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/0.7758, allocations: 331.8 kB / 1.188 GB, free: 12.85 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.777, allocations: 418.4 kB / 1.189 GB, free: 12.44 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.7777, allocations: 318.5 kB / 1.189 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.7779, allocations: 28 kB / 1.189 GB, free: 12.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.7799, allocations: 0.6356 MB / 1.19 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.7801, allocations: 99.55 kB / 1.19 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.7805, allocations: 218.8 kB / 1.19 GB, free: 11.15 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.7823, allocations: 0.7741 MB / 1.191 GB, free: 10.38 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7824, allocations: 4 kB / 1.191 GB, free: 10.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7824, allocations: 0 / 1.191 GB, free: 10.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.7824, allocations: 0 / 1.191 GB, free: 10.37 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002006/0.7844, allocations: 0.8515 MB / 1.192 GB, free: 9.469 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.7845, allocations: 12.62 kB / 1.192 GB, free: 9.457 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.554e-05/0.7846, allocations: 50.73 kB / 1.192 GB, free: 9.398 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.7847, allocations: 56.61 kB / 1.192 GB, free: 9.344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.7858, allocations: 437.6 kB / 1.192 GB, free: 8.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.7859, allocations: 20.44 kB / 1.192 GB, free: 8.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.786, allocations: 28 kB / 1.192 GB, free: 8.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.7867, allocations: 215.2 kB / 1.192 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.7868, allocations: 0 / 1.192 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.7868, allocations: 15.92 kB / 1.192 GB, free: 8.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.7868, allocations: 8 kB / 1.192 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.7875, allocations: 165.6 kB / 1.193 GB, free: 8.43 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.002724/0.7903, allocations: 0.9459 MB / 1.194 GB, free: 7.402 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.7908, allocations: 130.6 kB / 1.194 GB, free: 7.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.7911, allocations: 72.81 kB / 1.194 GB, free: 7.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004712/0.7916, allocations: 336.4 kB / 1.194 GB, free: 6.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.7917, allocations: 38.56 kB / 1.194 GB, free: 6.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.7917, allocations: 0 / 1.194 GB, free: 6.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.001064/0.7928, allocations: 242.3 kB / 1.194 GB, free: 6.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.7929, allocations: 63.39 kB / 1.194 GB, free: 6.426 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.7938, allocations: 474 kB / 1.195 GB, free: 5.953 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.7938, allocations: 29.7 kB / 1.195 GB, free: 5.918 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.7942, allocations: 236.8 kB / 1.195 GB, free: 5.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.7943, allocations: 51.58 kB / 1.195 GB, free: 5.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.7945, allocations: 65.58 kB / 1.195 GB, free: 5.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003174/0.7948, allocations: 354.7 kB / 1.196 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.7952, allocations: 76.81 kB / 1.196 GB, free: 5.129 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.7957, allocations: 154.2 kB / 1.196 GB, free: 4.953 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.7964, allocations: 165.1 kB / 1.196 GB, free: 4.785 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7964, allocations: 0 / 1.196 GB, free: 4.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009446/0.7973, allocations: 249.3 kB / 1.196 GB, free: 4.535 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7974, allocations: 4 kB / 1.196 GB, free: 4.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7974, allocations: 0 / 1.196 GB, free: 4.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.7974, allocations: 4.094 kB / 1.196 GB, free: 4.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.7978, allocations: 55.89 kB / 1.196 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.7978, allocations: 0 / 1.196 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.7984, allocations: 35.86 kB / 1.196 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.7984, allocations: 11.98 kB / 1.196 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005126/0.799, allocations: 194.2 kB / 1.196 GB, free: 4.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004607/0.7994, allocations: 169.2 kB / 1.197 GB, free: 4.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000621/0.8001, allocations: 165.8 kB / 1.197 GB, free: 3.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.8001, allocations: 3.938 kB / 1.197 GB, free: 3.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009147/0.801, allocations: 262.6 kB / 1.197 GB, free: 3.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.8011, allocations: 6.344 kB / 1.197 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.8011, allocations: 0 / 1.197 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.8011, allocations: 4 kB / 1.197 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.8015, allocations: 47.91 kB / 1.197 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.8015, allocations: 0 / 1.197 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.8021, allocations: 35.86 kB / 1.197 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.8021, allocations: 16.06 kB / 1.197 GB, free: 3.488 MB / 0.92 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.0001951/0.8023, allocations: 192.1 kB / 1.197 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.8025, allocations: 43.72 kB / 1.197 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/0.8035, allocations: 249.2 kB / 1.198 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.8035, allocations: 4 kB / 1.198 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8035, allocations: 4 kB / 1.198 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.8035, allocations: 3.984 kB / 1.198 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.8054, allocations: 0.6966 MB / 1.198 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.8054, allocations: 4 kB / 1.198 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.8056, allocations: 28.11 kB / 1.198 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.8057, allocations: 4 kB / 1.198 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.8057, allocations: 7.938 kB / 1.198 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.8057, allocations: 8 kB / 1.198 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8057, allocations: 3.938 kB / 1.198 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.8066, allocations: 342.8 kB / 1.199 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.8069, allocations: 136.7 kB / 1.199 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.807, allocations: 11.88 kB / 1.199 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.8074, allocations: 23.91 kB / 1.199 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.8075, allocations: 11.92 kB / 1.199 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.8075, allocations: 16 kB / 1.199 GB, free: 1.594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005807/0.8081, allocations: 330.9 kB / 1.199 GB, free: 1.273 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8081, allocations: 0 / 1.199 GB, free: 1.273 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001163/0.8093, allocations: 203.6 kB / 1.199 GB, free: 1.074 MB / 0.92 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.00356/0.8128, allocations: 1.256 MB / 1.201 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.814, allocations: 278.1 kB / 1.201 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.814, allocations: 0 / 1.201 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.8144, allocations: 88.2 kB / 1.201 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.8161, allocations: 196.6 kB / 1.201 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/0.8237, allocations: 3.343 MB / 1.204 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.8244, allocations: 0.827 MB / 1.205 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000497/0.8249, allocations: 83.52 kB / 1.205 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.8252, allocations: 147.4 kB / 1.205 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of SimCode: time 6.72e-07/0.8253, allocations: 3.938 kB / 1.205 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05456/0.8798, allocations: 12.83 MB / 1.218 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/9.445, allocations: 12.34 kB / 1.218 GB, free: 14.13 MB / 0.9512 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