Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_9_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.007045/0.007045, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001688/0.001688, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 69.83 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2392, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1473/0.3866, allocations: 154.4 MB / 1.238 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5665/0.9531, allocations: 30.4 MB / 1.268 GB, free: 40.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/0.9579, allocations: 140.2 kB / 1.268 GB, free: 40.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003/0.961, allocations: 1.057 MB / 1.269 GB, free: 40.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008701/0.9697, allocations: 3.327 MB / 1.272 GB, free: 40.79 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006269/0.976, allocations: 2.503 MB / 1.275 GB, free: 40.72 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009129/0.9851, allocations: 5.418 MB / 1.28 GB, free: 40.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003726/0.9889, allocations: 2.234 MB / 1.282 GB, free: 40.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007097/0.996, allocations: 2.761 MB / 1.285 GB, free: 40.4 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004031/1, allocations: 1.968 MB / 1.287 GB, free: 40.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006358/1.001, allocations: 214.4 kB / 1.287 GB, free: 40.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/1.004, allocations: 1.093 MB / 1.288 GB, free: 40.13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005849/1.005, allocations: 0.5593 MB / 1.289 GB, free: 40.04 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/1.006, allocations: 1.266 MB / 1.29 GB, free: 39.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/1.011, allocations: 3.337 MB / 1.293 GB, free: 39.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.011, allocations: 3.938 kB / 1.293 GB, free: 39.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.011, allocations: 0 / 1.293 GB, free: 39.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.671e-05/1.011, allocations: 0 / 1.293 GB, free: 39.15 MB / 1.014 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.004957/1.016, allocations: 2.864 MB / 1.296 GB, free: 37.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.016, allocations: 10.22 kB / 1.296 GB, free: 37.79 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/1.016, allocations: 180.2 kB / 1.296 GB, free: 37.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/1.017, allocations: 276.4 kB / 1.296 GB, free: 37.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/1.019, allocations: 1.536 MB / 1.298 GB, free: 37.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/1.019, allocations: 103.5 kB / 1.298 GB, free: 37.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/1.019, allocations: 135.8 kB / 1.298 GB, free: 37.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/1.021, allocations: 1.168 MB / 1.299 GB, free: 36.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/1.021, allocations: 0 / 1.299 GB, free: 36.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.021, allocations: 48.88 kB / 1.299 GB, free: 36.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/1.021, allocations: 28.41 kB / 1.299 GB, free: 36.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.023, allocations: 1.009 MB / 1.3 GB, free: 36.95 MB / 1.014 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.008782/1.032, allocations: 6.337 MB / 1.307 GB, free: 34.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/1.033, allocations: 0.5815 MB / 1.307 GB, free: 34.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/1.033, allocations: 382 kB / 1.307 GB, free: 34.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/1.034, allocations: 0.5026 MB / 1.308 GB, free: 33.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/1.034, allocations: 38.25 kB / 1.308 GB, free: 33.62 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001352/1.035, allocations: 247 kB / 1.308 GB, free: 33.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=58): time 2.775e-06/1.035, allocations: 0 / 1.308 GB, free: 33.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=58): time 0.002008/1.037, allocations: 1.177 MB / 1.309 GB, free: 33.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.037, allocations: 57.34 kB / 1.309 GB, free: 33.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.039, allocations: 1.897 MB / 1.311 GB, free: 33.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.464e-05/1.039, allocations: 47.2 kB / 1.311 GB, free: 33.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005999/1.04, allocations: 0.9281 MB / 1.312 GB, free: 32.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/1.04, allocations: 216.9 kB / 1.312 GB, free: 32.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/1.041, allocations: 301.2 kB / 1.313 GB, free: 32.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.348e-05/1.041, allocations: 355.9 kB / 1.313 GB, free: 32.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/1.041, allocations: 457.4 kB / 1.314 GB, free: 32.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009365/1.042, allocations: 0.6925 MB / 1.314 GB, free: 32.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/1.044, allocations: 0.9771 MB / 1.315 GB, free: 31.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.044, allocations: 5.75 kB / 1.315 GB, free: 31.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002402/1.046, allocations: 1.443 MB / 1.317 GB, free: 31.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.046, allocations: 7.906 kB / 1.317 GB, free: 31.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.046, allocations: 3.719 kB / 1.317 GB, free: 31.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.046, allocations: 7.688 kB / 1.317 GB, free: 31.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.048, allocations: 287.2 kB / 1.317 GB, free: 31.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/1.048, allocations: 14.88 kB / 1.317 GB, free: 31.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.049, allocations: 80.66 kB / 1.317 GB, free: 31.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.049, allocations: 64.55 kB / 1.317 GB, free: 31.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001253/1.051, allocations: 0.7222 MB / 1.318 GB, free: 31.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008509/1.052, allocations: 0.6693 MB / 1.318 GB, free: 31.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00128/1.053, allocations: 0.929 MB / 1.319 GB, free: 31.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/1.053, allocations: 3.938 kB / 1.319 GB, free: 31.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002143/1.055, allocations: 1.392 MB / 1.321 GB, free: 31.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.055, allocations: 6.656 kB / 1.321 GB, free: 31.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.055, allocations: 2.562 kB / 1.321 GB, free: 31.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/1.055, allocations: 12.98 kB / 1.321 GB, free: 31.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.056, allocations: 282.2 kB / 1.321 GB, free: 31.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.056, allocations: 15.62 kB / 1.321 GB, free: 31.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.058, allocations: 98.2 kB / 1.321 GB, free: 31.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/1.058, allocations: 62.88 kB / 1.321 GB, free: 31.12 MB / 1.014 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 (150): * Single equations (assignments): 150 * 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.0002516/1.058, allocations: 247.9 kB / 1.321 GB, free: 30.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/1.059, allocations: 212 kB / 1.322 GB, free: 30.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/1.06, allocations: 1.086 MB / 1.323 GB, free: 30.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/1.06, allocations: 11.38 kB / 1.323 GB, free: 30.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.06, allocations: 0 / 1.323 GB, free: 30.72 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.06, allocations: 5.438 kB / 1.323 GB, free: 30.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/1.064, allocations: 2.449 MB / 1.325 GB, free: 30.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.064, allocations: 4 kB / 1.325 GB, free: 30.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/1.064, allocations: 137.1 kB / 1.325 GB, free: 30.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.064, allocations: 3.25 kB / 1.325 GB, free: 30.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/1.064, allocations: 19.44 kB / 1.325 GB, free: 30.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.064, allocations: 17.02 kB / 1.325 GB, free: 30.31 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.064, allocations: 2.688 kB / 1.325 GB, free: 30.31 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/1.066, allocations: 1.08 MB / 1.326 GB, free: 30 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/1.066, allocations: 367.5 kB / 1.327 GB, free: 29.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/1.067, allocations: 20.94 kB / 1.327 GB, free: 29.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/1.067, allocations: 39.23 kB / 1.327 GB, free: 29.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.068, allocations: 49.83 kB / 1.327 GB, free: 29.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/1.068, allocations: 24.64 kB / 1.327 GB, free: 29.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0014/1.069, allocations: 1.258 MB / 1.328 GB, free: 29.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.21e-07/1.069, allocations: 4 kB / 1.328 GB, free: 29.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002018/1.071, allocations: 0.9111 MB / 1.329 GB, free: 29.05 MB / 1.014 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.001987/1.073, allocations: 1.873 MB / 1.331 GB, free: 27.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00247/1.076, allocations: 1.65 MB / 1.332 GB, free: 27.38 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.076, allocations: 5.688 kB / 1.332 GB, free: 27.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/1.076, allocations: 413.1 kB / 1.333 GB, free: 27.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/1.08, allocations: 1.082 MB / 1.334 GB, free: 26.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.099, allocations: 13.23 MB / 1.347 GB, free: 21.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/1.1, allocations: 1.409 MB / 1.348 GB, free: 20.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001697/1.101, allocations: 409.5 kB / 1.348 GB, free: 19.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/1.102, allocations: 0.8323 MB / 1.349 GB, free: 19.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.102, allocations: 0 / 1.349 GB, free: 19.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0885/1.191, allocations: 56.25 MB / 1.404 GB, free: 14.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.58, allocations: 2.812 kB / 1.404 GB, free: 14.47 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches