Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.005864/0.005864, allocations: 105 kB / 15.73 MB, free: 6.043 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.001529/0.001529, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.538/2.538, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 71.86 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2753, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6702/0.9455, allocations: 154.4 MB / 1.317 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03869/0.9843, allocations: 30.4 MB / 1.347 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006002/0.9903, allocations: 142.2 kB / 1.347 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.9937, allocations: 1.034 MB / 1.348 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00909/1.003, allocations: 3.164 MB / 1.351 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006668/1.009, allocations: 2.504 MB / 1.353 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009675/1.019, allocations: 5.4 MB / 1.359 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/1.023, allocations: 2.234 MB / 1.361 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00551/1.028, allocations: 2.69 MB / 1.363 GB, free: 9.457 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/1.032, allocations: 1.971 MB / 1.365 GB, free: 8.262 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005564/1.032, allocations: 214.8 kB / 1.366 GB, free: 8.262 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/1.035, allocations: 1.088 MB / 1.367 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007184/1.036, allocations: 0.5538 MB / 1.367 GB, free: 7.297 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002156/1.038, allocations: 1.272 MB / 1.368 GB, free: 6.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/1.042, allocations: 3.322 MB / 1.372 GB, free: 4.082 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.042, allocations: 4 kB / 1.372 GB, free: 4.078 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/1.042, allocations: 2.281 kB / 1.372 GB, free: 4.078 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.137e-05/1.042, allocations: 0 / 1.372 GB, free: 4.078 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005249/1.048, allocations: 2.786 MB / 1.374 GB, free: 2.051 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.048, allocations: 10.22 kB / 1.374 GB, free: 2.051 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/1.048, allocations: 177 kB / 1.375 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/1.048, allocations: 267.4 kB / 1.375 GB, free: 1.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/1.051, allocations: 1.514 MB / 1.376 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/1.051, allocations: 110.9 kB / 1.376 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/1.051, allocations: 138.1 kB / 1.376 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.053, allocations: 1.158 MB / 1.378 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/1.053, allocations: 3.938 kB / 1.378 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.053, allocations: 48.75 kB / 1.378 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/1.053, allocations: 27.28 kB / 1.378 GB, free: 15.76 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.055, allocations: 1.01 MB / 1.379 GB, free: 15.25 MB / 1.045 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.009839/1.065, allocations: 6.317 MB / 1.385 GB, free: 9.977 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/1.066, allocations: 0.5738 MB / 1.385 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/1.066, allocations: 381.8 kB / 1.386 GB, free: 9.473 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/1.067, allocations: 0.5028 MB / 1.386 GB, free: 8.883 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/1.067, allocations: 38.25 kB / 1.386 GB, free: 8.84 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001344/1.068, allocations: 237.9 kB / 1.387 GB, free: 8.711 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 2.574e-06/1.068, allocations: 2.438 kB / 1.387 GB, free: 8.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.002027/1.07, allocations: 1.168 MB / 1.388 GB, free: 8.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.07, allocations: 56.59 kB / 1.388 GB, free: 8.031 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/1.072, allocations: 1.901 MB / 1.39 GB, free: 6.996 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.376e-05/1.072, allocations: 46.7 kB / 1.39 GB, free: 6.949 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/1.073, allocations: 0.9188 MB / 1.391 GB, free: 6.137 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/1.073, allocations: 208.8 kB / 1.391 GB, free: 5.953 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/1.074, allocations: 293.6 kB / 1.391 GB, free: 5.785 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.074, allocations: 351 kB / 1.391 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/1.075, allocations: 455.1 kB / 1.392 GB, free: 5.086 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009945/1.076, allocations: 0.6855 MB / 1.392 GB, free: 4.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.077, allocations: 0.9735 MB / 1.393 GB, free: 3.309 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.077, allocations: 0 / 1.393 GB, free: 3.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00238/1.079, allocations: 1.408 MB / 1.395 GB, free: 1.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.08, allocations: 8 kB / 1.395 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.08, allocations: 4 kB / 1.395 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.08, allocations: 8 kB / 1.395 GB, free: 1.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.081, allocations: 283.5 kB / 1.395 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.081, allocations: 12.31 kB / 1.395 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.082, allocations: 75.92 kB / 1.395 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.082, allocations: 59.94 kB / 1.395 GB, free: 1.449 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001255/1.084, allocations: 0.7056 MB / 1.396 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000983/1.085, allocations: 0.6684 MB / 1.397 GB, free: 15.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/1.086, allocations: 0.9149 MB / 1.397 GB, free: 15.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.086, allocations: 4 kB / 1.397 GB, free: 15.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00231/1.088, allocations: 1.354 MB / 1.399 GB, free: 13.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.088, allocations: 8 kB / 1.399 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.088, allocations: 4 kB / 1.399 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/1.089, allocations: 8 kB / 1.399 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.09, allocations: 267.6 kB / 1.399 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/1.09, allocations: 15.92 kB / 1.399 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.091, allocations: 91.86 kB / 1.399 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.091, allocations: 63.94 kB / 1.399 GB, free: 13.21 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0002771/1.092, allocations: 232 kB / 1.399 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/1.092, allocations: 197.5 kB / 1.4 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/1.094, allocations: 1.098 MB / 1.401 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.094, allocations: 8 kB / 1.401 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.094, allocations: 3.938 kB / 1.401 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.094, allocations: 3.984 kB / 1.401 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/1.098, allocations: 2.433 MB / 1.403 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.098, allocations: 4 kB / 1.403 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/1.098, allocations: 144 kB / 1.403 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.098, allocations: 4 kB / 1.403 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.098, allocations: 19.98 kB / 1.403 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.098, allocations: 4 kB / 1.403 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.098, allocations: 3.938 kB / 1.403 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/1.1, allocations: 1.074 MB / 1.404 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/1.1, allocations: 362.3 kB / 1.405 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.1, allocations: 16 kB / 1.405 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/1.101, allocations: 39.95 kB / 1.405 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.101, allocations: 48.53 kB / 1.405 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/1.101, allocations: 31.98 kB / 1.405 GB, free: 7.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001592/1.103, allocations: 1.256 MB / 1.406 GB, free: 6.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.103, allocations: 0 / 1.406 GB, free: 6.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001917/1.105, allocations: 0.8964 MB / 1.407 GB, free: 5.195 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002218/1.107, allocations: 1.852 MB / 1.409 GB, free: 3.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002635/1.11, allocations: 1.625 MB / 1.41 GB, free: 1.688 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.11, allocations: 1.5 kB / 1.41 GB, free: 1.688 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006223/1.111, allocations: 415.9 kB / 1.411 GB, free: 1.281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/1.115, allocations: 1.082 MB / 1.412 GB, free: 232 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.134, allocations: 13.09 MB / 1.425 GB, free: 2.801 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.136, allocations: 1.405 MB / 1.426 GB, free: 1.359 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001894/1.137, allocations: 399.1 kB / 1.426 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.139, allocations: 0.8273 MB / 1.427 GB, free: 148 kB / 1.076 GB Notification: Performance of SimCode: time 1.493e-06/1.139, allocations: 0 / 1.427 GB, free: 148 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09154/1.23, allocations: 56.06 MB / 1.482 GB, free: 8.848 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.53, allocations: 7.875 kB / 1.482 GB, free: 8.84 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_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_Validation_ThreeWayValveParameterization.fmu > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches