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.00424/0.004244, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001071/0.001071, allocations: 191.6 kB / 16.67 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.519/2.519, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.265, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6586/0.9236, allocations: 154.4 MB / 1.317 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04108/0.9647, allocations: 30.4 MB / 1.347 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005723/0.9705, allocations: 137.2 kB / 1.347 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.9737, allocations: 1.057 MB / 1.348 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009155/0.9829, allocations: 3.328 MB / 1.351 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.9891, allocations: 2.512 MB / 1.353 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00758/0.9967, allocations: 5.409 MB / 1.359 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003538/1, allocations: 2.239 MB / 1.361 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005761/1.006, allocations: 2.755 MB / 1.364 GB, free: 9.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/1.01, allocations: 1.968 MB / 1.366 GB, free: 8.039 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000542/1.01, allocations: 214.4 kB / 1.366 GB, free: 8.039 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/1.013, allocations: 1.096 MB / 1.367 GB, free: 7.523 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005376/1.013, allocations: 0.5539 MB / 1.367 GB, free: 7.066 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/1.015, allocations: 1.267 MB / 1.369 GB, free: 6.203 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003583/1.018, allocations: 3.342 MB / 1.372 GB, free: 3.836 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.018, allocations: 0 / 1.372 GB, free: 3.836 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/1.018, allocations: 3.938 kB / 1.372 GB, free: 3.832 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.286e-05/1.018, allocations: 0 / 1.372 GB, free: 3.832 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.00446/1.023, allocations: 2.87 MB / 1.375 GB, free: 1.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.023, allocations: 8.406 kB / 1.375 GB, free: 1.723 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/1.023, allocations: 180.9 kB / 1.375 GB, free: 1.574 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/1.024, allocations: 279.1 kB / 1.375 GB, free: 1.426 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/1.026, allocations: 1.538 MB / 1.377 GB, free: 244 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/1.026, allocations: 102.8 kB / 1.377 GB, free: 196 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.026, allocations: 141.8 kB / 1.377 GB, free: 148 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/1.028, allocations: 1.153 MB / 1.378 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.028, allocations: 3.938 kB / 1.378 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.028, allocations: 52.05 kB / 1.378 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/1.028, allocations: 28.38 kB / 1.378 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/1.03, allocations: 1.005 MB / 1.379 GB, free: 14.89 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.009107/1.039, allocations: 6.326 MB / 1.385 GB, free: 9.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/1.04, allocations: 0.5783 MB / 1.386 GB, free: 9.305 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/1.04, allocations: 380.5 kB / 1.386 GB, free: 9.105 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/1.041, allocations: 0.5068 MB / 1.387 GB, free: 8.512 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/1.041, allocations: 38.09 kB / 1.387 GB, free: 8.469 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00108/1.042, allocations: 227.1 kB / 1.387 GB, free: 8.352 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 2.866e-06/1.042, allocations: 3.938 kB / 1.387 GB, free: 8.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.002007/1.044, allocations: 1.175 MB / 1.388 GB, free: 7.723 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.044, allocations: 60.41 kB / 1.388 GB, free: 7.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/1.046, allocations: 1.906 MB / 1.39 GB, free: 6.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/1.046, allocations: 47.67 kB / 1.39 GB, free: 6.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/1.047, allocations: 0.9277 MB / 1.391 GB, free: 5.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.047, allocations: 216.3 kB / 1.391 GB, free: 5.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/1.047, allocations: 296.6 kB / 1.391 GB, free: 5.387 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.048, allocations: 349.9 kB / 1.392 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/1.048, allocations: 449.9 kB / 1.392 GB, free: 4.598 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.049, allocations: 0.6854 MB / 1.393 GB, free: 3.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.051, allocations: 0.9696 MB / 1.394 GB, free: 2.824 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.051, allocations: 7.938 kB / 1.394 GB, free: 2.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002354/1.053, allocations: 1.417 MB / 1.395 GB, free: 1.391 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.053, allocations: 8 kB / 1.395 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.053, allocations: 0 / 1.395 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/1.053, allocations: 12 kB / 1.395 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.055, allocations: 279.9 kB / 1.395 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/1.055, allocations: 19.92 kB / 1.396 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.056, allocations: 67.94 kB / 1.396 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.056, allocations: 63.94 kB / 1.396 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/1.057, allocations: 0.7094 MB / 1.396 GB, free: 240 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009369/1.058, allocations: 0.6606 MB / 1.397 GB, free: 15.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00142/1.06, allocations: 0.9227 MB / 1.398 GB, free: 14.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/1.06, allocations: 0 / 1.398 GB, free: 14.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002219/1.062, allocations: 1.363 MB / 1.399 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.062, allocations: 12 kB / 1.399 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.062, allocations: 4 kB / 1.399 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.062, allocations: 8 kB / 1.399 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.063, allocations: 271.6 kB / 1.399 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.063, allocations: 11.98 kB / 1.399 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.065, allocations: 95.83 kB / 1.4 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.065, allocations: 59.95 kB / 1.4 GB, free: 12.7 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.0002612/1.065, allocations: 236 kB / 1.4 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/1.065, allocations: 214.5 kB / 1.4 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/1.067, allocations: 1.095 MB / 1.401 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.067, allocations: 11.98 kB / 1.401 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.067, allocations: 3.938 kB / 1.401 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.067, allocations: 7.984 kB / 1.401 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/1.071, allocations: 2.433 MB / 1.404 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.071, allocations: 3.984 kB / 1.404 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/1.072, allocations: 140 kB / 1.404 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/1.072, allocations: 4 kB / 1.404 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/1.072, allocations: 19.98 kB / 1.404 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1.072, allocations: 4 kB / 1.404 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.072, allocations: 4 kB / 1.404 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.073, allocations: 1.083 MB / 1.405 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.074, allocations: 367.5 kB / 1.405 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/1.074, allocations: 16 kB / 1.405 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/1.075, allocations: 39.95 kB / 1.405 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/1.075, allocations: 44.59 kB / 1.405 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/1.075, allocations: 35.98 kB / 1.405 GB, free: 6.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00161/1.077, allocations: 1.252 MB / 1.406 GB, free: 5.555 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.502e-06/1.077, allocations: 0 / 1.406 GB, free: 5.555 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001926/1.079, allocations: 0.9045 MB / 1.407 GB, free: 4.648 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.002251/1.081, allocations: 1.872 MB / 1.409 GB, free: 2.742 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002657/1.084, allocations: 1.623 MB / 1.411 GB, free: 1.125 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.084, allocations: 0 / 1.411 GB, free: 1.125 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/1.084, allocations: 416 kB / 1.411 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/1.089, allocations: 1.083 MB / 1.412 GB, free: 15.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.107, allocations: 13.17 MB / 1.425 GB, free: 2.152 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/1.108, allocations: 1.405 MB / 1.426 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001469/1.109, allocations: 395 kB / 1.427 GB, free: 336 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.11, allocations: 0.8273 MB / 1.428 GB, free: 15.5 MB / 1.092 GB Notification: Performance of SimCode: time 4.5e-07/1.11, allocations: 0 / 1.428 GB, free: 15.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08699/1.197, allocations: 56.06 MB / 1.482 GB, free: 8.227 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.55, allocations: 6.188 kB / 1.482 GB, free: 8.223 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