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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007608/0.007608, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001703/0.001703, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.56/2.56, allocations: 469.4 MB / 0.7421 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8903/0.8917, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.136/1.028, allocations: 154.4 MB / 1.371 GB, free: 7.375 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03855/1.066, allocations: 30.43 MB / 1.4 GB, free: 8.879 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005178/1.072, allocations: 143.1 kB / 1.4 GB, free: 8.738 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002736/1.074, allocations: 1.055 MB / 1.401 GB, free: 7.676 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008154/1.083, allocations: 3.319 MB / 1.405 GB, free: 4.344 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00563/1.088, allocations: 2.509 MB / 1.407 GB, free: 1.867 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0067/1.095, allocations: 5.412 MB / 1.412 GB, free: 12.43 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003095/1.098, allocations: 2.235 MB / 1.415 GB, free: 10.15 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/1.103, allocations: 2.759 MB / 1.417 GB, free: 7.383 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/1.107, allocations: 1.965 MB / 1.419 GB, free: 5.41 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006619/1.107, allocations: 212 kB / 1.419 GB, free: 5.203 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/1.11, allocations: 1.092 MB / 1.42 GB, free: 4.109 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009796/1.111, allocations: 0.5564 MB / 1.421 GB, free: 3.551 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/1.114, allocations: 1.271 MB / 1.422 GB, free: 2.273 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005172/1.119, allocations: 3.336 MB / 1.425 GB, free: 14.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.119, allocations: 0 / 1.425 GB, free: 14.93 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.603e-06/1.119, allocations: 0 / 1.425 GB, free: 14.93 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001349/1.119, allocations: 0 / 1.425 GB, free: 14.93 MB / 1.154 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.005244/1.124, allocations: 2.871 MB / 1.428 GB, free: 11.99 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.124, allocations: 8.625 kB / 1.428 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/1.125, allocations: 177.4 kB / 1.428 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/1.125, allocations: 274.3 kB / 1.429 GB, free: 11.53 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.127, allocations: 1.541 MB / 1.43 GB, free: 9.914 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/1.128, allocations: 102.3 kB / 1.43 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/1.128, allocations: 140 kB / 1.43 GB, free: 9.676 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/1.13, allocations: 1.159 MB / 1.432 GB, free: 8.488 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/1.13, allocations: 0 / 1.432 GB, free: 8.488 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.13, allocations: 44 kB / 1.432 GB, free: 8.445 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/1.13, allocations: 32 kB / 1.432 GB, free: 8.414 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/1.132, allocations: 1.016 MB / 1.433 GB, free: 7.391 MB / 1.154 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.008868/1.141, allocations: 6.332 MB / 1.439 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/1.141, allocations: 0.567 MB / 1.439 GB, free: 12 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/1.142, allocations: 382.4 kB / 1.44 GB, free: 15.63 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/1.142, allocations: 0.5069 MB / 1.44 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.142, allocations: 43.12 kB / 1.44 GB, free: 14.96 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001149/1.144, allocations: 235.3 kB / 1.441 GB, free: 14.73 MB / 1.17 GB Notification: Performance of pre-optimization done (n=58): time 2.545e-06/1.144, allocations: 0 / 1.441 GB, free: 14.73 MB / 1.17 GB Notification: Performance of matching and sorting (n=58): time 0.001957/1.146, allocations: 1.177 MB / 1.442 GB, free: 13.55 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.146, allocations: 63.91 kB / 1.442 GB, free: 13.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.148, allocations: 1.9 MB / 1.444 GB, free: 11.55 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/1.148, allocations: 49.7 kB / 1.444 GB, free: 11.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/1.149, allocations: 0.9314 MB / 1.445 GB, free: 10.56 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/1.149, allocations: 214.2 kB / 1.445 GB, free: 10.35 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/1.149, allocations: 294.7 kB / 1.445 GB, free: 10.05 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.149, allocations: 353.9 kB / 1.445 GB, free: 9.703 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007373/1.15, allocations: 449.9 kB / 1.446 GB, free: 9.262 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/1.151, allocations: 0.6918 MB / 1.446 GB, free: 8.488 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/1.152, allocations: 0.9696 MB / 1.447 GB, free: 7.48 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.152, allocations: 4 kB / 1.447 GB, free: 7.477 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002268/1.155, allocations: 1.413 MB / 1.449 GB, free: 6.055 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.155, allocations: 9.719 kB / 1.449 GB, free: 6.047 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.155, allocations: 4.375 kB / 1.449 GB, free: 6.043 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.155, allocations: 12 kB / 1.449 GB, free: 6.031 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.156, allocations: 271.6 kB / 1.449 GB, free: 5.766 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/1.156, allocations: 15.88 kB / 1.449 GB, free: 5.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.157, allocations: 75.92 kB / 1.449 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.157, allocations: 63.95 kB / 1.449 GB, free: 5.613 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001202/1.159, allocations: 0.7095 MB / 1.45 GB, free: 4.898 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009188/1.16, allocations: 0.6567 MB / 1.451 GB, free: 4.164 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001361/1.161, allocations: 0.9188 MB / 1.451 GB, free: 3.203 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/1.161, allocations: 4 kB / 1.451 GB, free: 3.199 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00219/1.163, allocations: 1.355 MB / 1.453 GB, free: 1.836 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.163, allocations: 4 kB / 1.453 GB, free: 1.832 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.163, allocations: 7.984 kB / 1.453 GB, free: 1.824 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/1.163, allocations: 8 kB / 1.453 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.164, allocations: 275.6 kB / 1.453 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.164, allocations: 11.94 kB / 1.453 GB, free: 1.535 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.166, allocations: 104 kB / 1.453 GB, free: 1.434 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/1.166, allocations: 51.95 kB / 1.453 GB, free: 1.383 MB / 1.17 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.0002824/1.166, allocations: 247.9 kB / 1.453 GB, free: 1.133 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/1.166, allocations: 210.6 kB / 1.454 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/1.168, allocations: 1.086 MB / 1.455 GB, free: 15.83 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.168, allocations: 12 kB / 1.455 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.168, allocations: 3.938 kB / 1.455 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/1.168, allocations: 3.984 kB / 1.455 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/1.172, allocations: 2.445 MB / 1.457 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.172, allocations: 4 kB / 1.457 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/1.172, allocations: 131.8 kB / 1.457 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.172, allocations: 8 kB / 1.457 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/1.172, allocations: 12 kB / 1.457 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.172, allocations: 11.98 kB / 1.457 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.172, allocations: 4 kB / 1.457 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.174, allocations: 1.083 MB / 1.458 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005016/1.174, allocations: 375.4 kB / 1.459 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/1.175, allocations: 20 kB / 1.459 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/1.175, allocations: 35.95 kB / 1.459 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.175, allocations: 48.59 kB / 1.459 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.175, allocations: 31.86 kB / 1.459 GB, free: 11.48 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001493/1.177, allocations: 1.256 MB / 1.46 GB, free: 10.21 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.9e-07/1.177, allocations: 4 kB / 1.46 GB, free: 10.21 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001801/1.179, allocations: 0.9007 MB / 1.461 GB, free: 9.301 MB / 1.186 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.002256/1.181, allocations: 1.864 MB / 1.463 GB, free: 7.406 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002844/1.184, allocations: 1.611 MB / 1.464 GB, free: 5.801 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.184, allocations: 4.062 kB / 1.464 GB, free: 5.797 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006125/1.185, allocations: 419.5 kB / 1.465 GB, free: 5.383 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004325/1.189, allocations: 1.083 MB / 1.466 GB, free: 4.328 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.207, allocations: 13.17 MB / 1.479 GB, free: 6.824 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.208, allocations: 1.409 MB / 1.48 GB, free: 5.383 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001666/1.209, allocations: 400.4 kB / 1.48 GB, free: 4.996 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.21, allocations: 0.8312 MB / 1.481 GB, free: 4.164 MB / 1.201 GB Notification: Performance of SimCode: time 9.32e-07/1.21, allocations: 4 kB / 1.481 GB, free: 4.16 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09763/1.308, allocations: 56.04 MB / 1.536 GB, free: 12.9 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.75, allocations: 12.59 kB / 1.536 GB, free: 12.89 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 50 --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