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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00768/0.007681, allocations: 101.3 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.001718/0.001718, allocations: 185.3 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.601/2.601, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.12 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3209, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.8146/1.136, allocations: 154.4 MB / 1.358 GB, free: 304 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04538/1.181, allocations: 30.4 MB / 1.388 GB, free: 8.949 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007125/1.188, allocations: 140.8 kB / 1.388 GB, free: 8.895 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003739/1.192, allocations: 1.039 MB / 1.389 GB, free: 7.984 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/1.203, allocations: 3.162 MB / 1.392 GB, free: 5.457 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006916/1.21, allocations: 2.514 MB / 1.394 GB, free: 3.559 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008524/1.218, allocations: 5.403 MB / 1.4 GB, free: 448 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004309/1.222, allocations: 2.232 MB / 1.402 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/1.229, allocations: 2.738 MB / 1.405 GB, free: 13.29 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/1.233, allocations: 1.974 MB / 1.406 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008772/1.234, allocations: 211.4 kB / 1.407 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/1.238, allocations: 1.094 MB / 1.408 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009926/1.239, allocations: 0.5569 MB / 1.408 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002758/1.242, allocations: 1.273 MB / 1.41 GB, free: 10.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005908/1.247, allocations: 3.316 MB / 1.413 GB, free: 7.906 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.247, allocations: 0 / 1.413 GB, free: 7.906 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.743e-06/1.247, allocations: 7.906 kB / 1.413 GB, free: 7.902 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001416/1.248, allocations: 0 / 1.413 GB, free: 7.902 MB / 1.092 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.007165/1.255, allocations: 2.79 MB / 1.416 GB, free: 5.262 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.255, allocations: 12.62 kB / 1.416 GB, free: 5.25 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004077/1.255, allocations: 169.4 kB / 1.416 GB, free: 5.074 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007155/1.256, allocations: 260.9 kB / 1.416 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/1.259, allocations: 1.523 MB / 1.417 GB, free: 3.219 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/1.259, allocations: 102.3 kB / 1.418 GB, free: 3.117 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/1.26, allocations: 143.9 kB / 1.418 GB, free: 2.977 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/1.262, allocations: 1.156 MB / 1.419 GB, free: 1.793 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/1.262, allocations: 7.938 kB / 1.419 GB, free: 1.785 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.262, allocations: 44 kB / 1.419 GB, free: 1.742 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/1.262, allocations: 28 kB / 1.419 GB, free: 1.715 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/1.264, allocations: 1.013 MB / 1.42 GB, free: 0.6953 MB / 1.092 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.01109/1.275, allocations: 6.326 MB / 1.426 GB, free: 9.902 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/1.276, allocations: 0.5638 MB / 1.427 GB, free: 9.328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/1.277, allocations: 386.3 kB / 1.427 GB, free: 8.949 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/1.277, allocations: 0.507 MB / 1.427 GB, free: 8.332 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/1.277, allocations: 35.12 kB / 1.427 GB, free: 8.289 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001359/1.279, allocations: 234.8 kB / 1.428 GB, free: 8.059 MB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 6.242e-06/1.279, allocations: 0 / 1.428 GB, free: 8.059 MB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002318/1.281, allocations: 1.168 MB / 1.429 GB, free: 6.883 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.281, allocations: 59.97 kB / 1.429 GB, free: 6.812 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/1.284, allocations: 1.9 MB / 1.431 GB, free: 4.887 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.284, allocations: 41.7 kB / 1.431 GB, free: 4.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/1.284, allocations: 0.9184 MB / 1.432 GB, free: 3.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/1.285, allocations: 209 kB / 1.432 GB, free: 3.703 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/1.285, allocations: 290.6 kB / 1.432 GB, free: 3.414 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.285, allocations: 349.9 kB / 1.433 GB, free: 3.066 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/1.286, allocations: 461.7 kB / 1.433 GB, free: 2.613 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.287, allocations: 0.6801 MB / 1.434 GB, free: 1.852 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.289, allocations: 0.9735 MB / 1.435 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/1.289, allocations: 0 / 1.435 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002424/1.291, allocations: 1.408 MB / 1.436 GB, free: 15.42 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.291, allocations: 4 kB / 1.436 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.291, allocations: 4 kB / 1.436 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.291, allocations: 11.94 kB / 1.436 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.292, allocations: 279.5 kB / 1.436 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/1.292, allocations: 11.94 kB / 1.436 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.294, allocations: 76.2 kB / 1.436 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/1.294, allocations: 63.95 kB / 1.436 GB, free: 14.98 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001175/1.295, allocations: 0.7095 MB / 1.437 GB, free: 14.27 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009079/1.296, allocations: 0.6618 MB / 1.438 GB, free: 13.53 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001393/1.297, allocations: 0.9188 MB / 1.439 GB, free: 12.57 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.319e-06/1.297, allocations: 4 kB / 1.439 GB, free: 12.56 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002267/1.3, allocations: 1.349 MB / 1.44 GB, free: 11.2 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.3, allocations: 8 kB / 1.44 GB, free: 11.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.3, allocations: 4.375 kB / 1.44 GB, free: 11.19 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/1.3, allocations: 12 kB / 1.44 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.301, allocations: 271.5 kB / 1.44 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/1.301, allocations: 12 kB / 1.44 GB, free: 10.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/1.302, allocations: 95.84 kB / 1.44 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.303, allocations: 55.95 kB / 1.44 GB, free: 10.75 MB / 1.123 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.0002733/1.303, allocations: 236 kB / 1.441 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/1.303, allocations: 201.5 kB / 1.441 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/1.305, allocations: 1.094 MB / 1.442 GB, free: 9.215 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.305, allocations: 8.094 kB / 1.442 GB, free: 9.207 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.305, allocations: 7.922 kB / 1.442 GB, free: 9.199 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.305, allocations: 3.984 kB / 1.442 GB, free: 9.195 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/1.309, allocations: 2.441 MB / 1.444 GB, free: 6.676 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.309, allocations: 0 / 1.444 GB, free: 6.676 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/1.31, allocations: 135.8 kB / 1.444 GB, free: 6.543 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/1.31, allocations: 4.188 kB / 1.444 GB, free: 6.539 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/1.31, allocations: 24 kB / 1.444 GB, free: 6.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/1.31, allocations: 7.938 kB / 1.444 GB, free: 6.508 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.31, allocations: 7.984 kB / 1.444 GB, free: 6.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.311, allocations: 1.066 MB / 1.445 GB, free: 5.398 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/1.312, allocations: 362.3 kB / 1.446 GB, free: 5.023 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/1.312, allocations: 12 kB / 1.446 GB, free: 5.012 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/1.313, allocations: 39.95 kB / 1.446 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.313, allocations: 48.59 kB / 1.446 GB, free: 4.922 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/1.313, allocations: 27.98 kB / 1.446 GB, free: 4.895 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001775/1.315, allocations: 1.248 MB / 1.447 GB, free: 3.633 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/1.315, allocations: 4 kB / 1.447 GB, free: 3.629 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00254/1.318, allocations: 0.8964 MB / 1.448 GB, free: 2.73 MB / 1.123 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.002486/1.32, allocations: 1.857 MB / 1.45 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002939/1.323, allocations: 1.629 MB / 1.451 GB, free: 15.22 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.323, allocations: 0 / 1.451 GB, free: 15.22 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006078/1.324, allocations: 413 kB / 1.452 GB, free: 14.81 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/1.329, allocations: 1.071 MB / 1.453 GB, free: 13.76 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/1.35, allocations: 13.1 MB / 1.466 GB, free: 344 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.351, allocations: 1.405 MB / 1.467 GB, free: 14.9 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001712/1.353, allocations: 412.8 kB / 1.467 GB, free: 14.5 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.354, allocations: 0.8273 MB / 1.468 GB, free: 13.67 MB / 1.154 GB Notification: Performance of SimCode: time 7.41e-07/1.354, allocations: 4 kB / 1.468 GB, free: 13.67 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09803/1.452, allocations: 57.02 MB / 1.524 GB, free: 5.414 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.83, allocations: 23.09 kB / 1.524 GB, free: 5.398 MB / 1.201 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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