Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_latest_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.004237/0.004237, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001246/0.001246, allocations: 187.6 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 68.11 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2723, allocations: 162.2 MB / 1.241 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1581/0.4304, allocations: 154.2 MB / 1.392 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04115/0.4716, allocations: 30.19 MB / 1.422 GB, free: 276 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004374/0.476, allocations: 143.1 kB / 1.422 GB, free: 132 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.4789, allocations: 1.028 MB / 1.423 GB, free: 15.09 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007845/0.4868, allocations: 3.105 MB / 1.426 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.4924, allocations: 2.511 MB / 1.428 GB, free: 9.496 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006465/0.4989, allocations: 5.295 MB / 1.433 GB, free: 4.184 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.5017, allocations: 2.217 MB / 1.435 GB, free: 1.91 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.5064, allocations: 2.72 MB / 1.438 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.5089, allocations: 1.898 MB / 1.44 GB, free: 13.27 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.5092, allocations: 212 kB / 1.44 GB, free: 13.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.5114, allocations: 1.084 MB / 1.441 GB, free: 11.98 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.5119, allocations: 0.5487 MB / 1.442 GB, free: 11.43 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.5132, allocations: 1.252 MB / 1.443 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.517, allocations: 3.284 MB / 1.446 GB, free: 6.871 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.517, allocations: 0 / 1.446 GB, free: 6.871 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.203e-06/0.517, allocations: 0 / 1.446 GB, free: 6.871 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.517, allocations: 0 / 1.446 GB, free: 6.871 MB / 1.17 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.004679/0.5217, allocations: 2.805 MB / 1.449 GB, free: 4 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5218, allocations: 12.03 kB / 1.449 GB, free: 3.988 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.522, allocations: 177.4 kB / 1.449 GB, free: 3.805 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.5224, allocations: 270.3 kB / 1.449 GB, free: 3.539 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.5248, allocations: 1.505 MB / 1.451 GB, free: 1.961 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.5249, allocations: 102.3 kB / 1.451 GB, free: 1.859 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.5251, allocations: 140 kB / 1.451 GB, free: 1.723 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.5272, allocations: 1.159 MB / 1.452 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.5272, allocations: 0 / 1.452 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5273, allocations: 48 kB / 1.452 GB, free: 500 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.5274, allocations: 28 kB / 1.452 GB, free: 472 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.5293, allocations: 1.016 MB / 1.453 GB, free: 15.44 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009543/0.5389, allocations: 6.299 MB / 1.459 GB, free: 8.664 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.5399, allocations: 0.5758 MB / 1.46 GB, free: 8.082 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.5406, allocations: 382.4 kB / 1.46 GB, free: 7.703 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/0.541, allocations: 0.5031 MB / 1.461 GB, free: 7.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5411, allocations: 35.12 kB / 1.461 GB, free: 7.047 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/0.5421, allocations: 231.3 kB / 1.461 GB, free: 6.82 MB / 1.186 GB Notification: Performance of pre-optimization done (n=58): time 2.554e-06/0.5421, allocations: 0 / 1.461 GB, free: 6.82 MB / 1.186 GB Notification: Performance of matching and sorting (n=58): time 0.002225/0.5444, allocations: 1.173 MB / 1.462 GB, free: 5.641 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.5444, allocations: 63.91 kB / 1.462 GB, free: 5.566 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.5467, allocations: 1.834 MB / 1.464 GB, free: 3.703 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/0.5468, allocations: 45.7 kB / 1.464 GB, free: 3.652 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008074/0.5476, allocations: 0.9233 MB / 1.465 GB, free: 2.723 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.5478, allocations: 214.2 kB / 1.465 GB, free: 2.512 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/0.5483, allocations: 286.7 kB / 1.466 GB, free: 2.227 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5484, allocations: 353.9 kB / 1.466 GB, free: 1.875 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/0.5493, allocations: 453.8 kB / 1.466 GB, free: 1.43 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.5504, allocations: 0.6801 MB / 1.467 GB, free: 0.668 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.5522, allocations: 0.9735 MB / 1.468 GB, free: 15.65 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5522, allocations: 0 / 1.468 GB, free: 15.65 MB / 1.201 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002566/0.5547, allocations: 1.413 MB / 1.469 GB, free: 14.23 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5548, allocations: 8 kB / 1.469 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.5548, allocations: 7.984 kB / 1.469 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5548, allocations: 8 kB / 1.469 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.5561, allocations: 284 kB / 1.47 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.5562, allocations: 19.88 kB / 1.47 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5574, allocations: 79.84 kB / 1.47 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.5576, allocations: 59.95 kB / 1.47 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.5588, allocations: 0.7017 MB / 1.47 GB, free: 13.07 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/0.5599, allocations: 0.6606 MB / 1.471 GB, free: 12.33 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00158/0.5615, allocations: 0.9227 MB / 1.472 GB, free: 11.37 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.5615, allocations: 0 / 1.472 GB, free: 11.37 MB / 1.201 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002438/0.5639, allocations: 1.359 MB / 1.473 GB, free: 10 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.564, allocations: 8 kB / 1.473 GB, free: 9.992 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.564, allocations: 0 / 1.473 GB, free: 9.992 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.564, allocations: 12 kB / 1.473 GB, free: 9.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.5652, allocations: 271.5 kB / 1.474 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5652, allocations: 11.94 kB / 1.474 GB, free: 9.703 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.5666, allocations: 95.84 kB / 1.474 GB, free: 9.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5667, allocations: 59.95 kB / 1.474 GB, free: 9.551 MB / 1.201 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.0002744/0.567, allocations: 228.1 kB / 1.474 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.5673, allocations: 206.6 kB / 1.474 GB, free: 9.117 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.5694, allocations: 1.087 MB / 1.475 GB, free: 8.023 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5694, allocations: 8 kB / 1.475 GB, free: 8.016 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5695, allocations: 3.938 kB / 1.475 GB, free: 8.012 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.5695, allocations: 3.984 kB / 1.475 GB, free: 8.008 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.5731, allocations: 2.42 MB / 1.478 GB, free: 5.508 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.5731, allocations: 4 kB / 1.478 GB, free: 5.504 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.5738, allocations: 136 kB / 1.478 GB, free: 5.371 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.5738, allocations: 8 kB / 1.478 GB, free: 5.363 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.5738, allocations: 15.98 kB / 1.478 GB, free: 5.348 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/0.5739, allocations: 11.98 kB / 1.478 GB, free: 5.336 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5739, allocations: 0 / 1.478 GB, free: 5.336 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.5755, allocations: 1.079 MB / 1.479 GB, free: 4.219 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/0.576, allocations: 351.6 kB / 1.479 GB, free: 3.855 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.5762, allocations: 12 kB / 1.479 GB, free: 3.844 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/0.5769, allocations: 39.95 kB / 1.479 GB, free: 3.805 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5771, allocations: 52.53 kB / 1.479 GB, free: 3.754 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.5771, allocations: 31.92 kB / 1.479 GB, free: 3.723 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001626/0.5788, allocations: 1.215 MB / 1.48 GB, free: 2.492 MB / 1.201 GB Notification: Performance of sort global known variables: time 2e-07/0.5788, allocations: 0 / 1.48 GB, free: 2.492 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001814/0.5806, allocations: 0.8851 MB / 1.481 GB, free: 1.605 MB / 1.201 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.002483/0.5831, allocations: 1.854 MB / 1.483 GB, free: 15.72 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.586, allocations: 1.623 MB / 1.485 GB, free: 14.1 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.586, allocations: 7.938 kB / 1.485 GB, free: 14.09 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006835/0.5867, allocations: 416 kB / 1.485 GB, free: 13.69 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004523/0.5912, allocations: 1.078 MB / 1.486 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.6104, allocations: 12.97 MB / 1.499 GB, free: 15.31 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.6115, allocations: 1.385 MB / 1.5 GB, free: 13.89 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001532/0.613, allocations: 405.2 kB / 1.501 GB, free: 13.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.6142, allocations: 0.8117 MB / 1.501 GB, free: 12.69 MB / 1.232 GB Notification: Performance of SimCode: time 3.7e-07/0.6142, allocations: 4 kB / 1.501 GB, free: 12.69 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5924/1.207, allocations: 55.58 MB / 1.556 GB, free: 299.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.64, allocations: 13.89 kB / 1.556 GB, free: 299.7 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches