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.005484/0.005483, allocations: 99.38 kB / 15.73 MB, free: 6.023 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.001098/0.001098, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.89 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3362, 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.8089/1.145, allocations: 154.4 MB / 1.358 GB, free: 344 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0445/1.19, allocations: 30.42 MB / 1.388 GB, free: 9.016 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008651/1.198, allocations: 141 kB / 1.388 GB, free: 8.961 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004045/1.203, allocations: 1.031 MB / 1.389 GB, free: 8.059 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/1.213, allocations: 3.175 MB / 1.392 GB, free: 5.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006628/1.22, allocations: 2.504 MB / 1.394 GB, free: 3.625 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008918/1.229, allocations: 5.407 MB / 1.4 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003939/1.233, allocations: 2.23 MB / 1.402 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007197/1.24, allocations: 2.743 MB / 1.405 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004501/1.245, allocations: 1.964 MB / 1.406 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0009426/1.245, allocations: 213.9 kB / 1.407 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/1.249, allocations: 1.098 MB / 1.408 GB, free: 11.65 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/1.25, allocations: 0.5576 MB / 1.408 GB, free: 11.19 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002971/1.253, allocations: 1.268 MB / 1.41 GB, free: 10.33 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005927/1.259, allocations: 3.318 MB / 1.413 GB, free: 7.98 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.259, allocations: 0 / 1.413 GB, free: 7.98 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.294e-06/1.259, allocations: 0 / 1.413 GB, free: 7.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001421/1.26, allocations: 0 / 1.413 GB, free: 7.98 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.006679/1.266, allocations: 2.794 MB / 1.416 GB, free: 5.289 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.266, allocations: 12.61 kB / 1.416 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003761/1.267, allocations: 177.4 kB / 1.416 GB, free: 5.094 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007811/1.267, allocations: 257.8 kB / 1.416 GB, free: 4.84 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/1.271, allocations: 1.52 MB / 1.417 GB, free: 3.246 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/1.271, allocations: 102.3 kB / 1.418 GB, free: 3.145 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/1.271, allocations: 144 kB / 1.418 GB, free: 3.004 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/1.273, allocations: 1.163 MB / 1.419 GB, free: 1.812 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/1.273, allocations: 7.938 kB / 1.419 GB, free: 1.805 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/1.274, allocations: 44 kB / 1.419 GB, free: 1.762 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/1.274, allocations: 32 kB / 1.419 GB, free: 1.73 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/1.276, allocations: 1.013 MB / 1.42 GB, free: 0.7109 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.01086/1.286, allocations: 6.318 MB / 1.426 GB, free: 9.926 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/1.287, allocations: 0.5599 MB / 1.427 GB, free: 9.355 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/1.288, allocations: 386.3 kB / 1.427 GB, free: 8.977 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/1.288, allocations: 0.5109 MB / 1.427 GB, free: 8.355 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/1.288, allocations: 39.62 kB / 1.427 GB, free: 8.309 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001413/1.29, allocations: 230.8 kB / 1.428 GB, free: 8.082 MB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 6.873e-06/1.29, allocations: 0 / 1.428 GB, free: 8.082 MB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002292/1.292, allocations: 1.168 MB / 1.429 GB, free: 6.906 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.292, allocations: 55.97 kB / 1.429 GB, free: 6.84 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/1.295, allocations: 1.9 MB / 1.431 GB, free: 4.914 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/1.295, allocations: 53.7 kB / 1.431 GB, free: 4.855 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/1.296, allocations: 0.9107 MB / 1.432 GB, free: 3.934 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/1.296, allocations: 209 kB / 1.432 GB, free: 3.727 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/1.296, allocations: 290.6 kB / 1.432 GB, free: 3.438 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.297, allocations: 353.9 kB / 1.432 GB, free: 3.086 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007682/1.297, allocations: 453.7 kB / 1.433 GB, free: 2.641 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/1.298, allocations: 0.6841 MB / 1.434 GB, free: 1.875 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/1.3, allocations: 0.9746 MB / 1.435 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.3, allocations: 0 / 1.435 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002794/1.303, allocations: 1.405 MB / 1.436 GB, free: 15.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.303, allocations: 13.88 kB / 1.436 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.303, allocations: 4 kB / 1.436 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/1.303, allocations: 8 kB / 1.436 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.304, allocations: 283.5 kB / 1.436 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/1.304, allocations: 11.94 kB / 1.436 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.306, allocations: 79.92 kB / 1.436 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.306, allocations: 59.95 kB / 1.436 GB, free: 15 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001264/1.307, allocations: 0.7056 MB / 1.437 GB, free: 14.29 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009181/1.308, allocations: 0.6645 MB / 1.438 GB, free: 13.54 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001346/1.309, allocations: 0.9227 MB / 1.439 GB, free: 12.58 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/1.309, allocations: 0 / 1.439 GB, free: 12.58 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002286/1.312, allocations: 1.35 MB / 1.44 GB, free: 11.22 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.312, allocations: 4 kB / 1.44 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.312, allocations: 4 kB / 1.44 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/1.312, allocations: 8 kB / 1.44 GB, free: 11.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.313, allocations: 279.9 kB / 1.44 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/1.313, allocations: 12 kB / 1.44 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.314, allocations: 91.84 kB / 1.44 GB, free: 10.83 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.315, allocations: 55.95 kB / 1.44 GB, free: 10.77 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.0003207/1.315, allocations: 239.9 kB / 1.441 GB, free: 10.53 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/1.315, allocations: 197.5 kB / 1.441 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/1.317, allocations: 1.099 MB / 1.442 GB, free: 9.227 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/1.317, allocations: 11.98 kB / 1.442 GB, free: 9.215 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.317, allocations: 3.938 kB / 1.442 GB, free: 9.211 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/1.317, allocations: 3.984 kB / 1.442 GB, free: 9.207 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/1.321, allocations: 2.433 MB / 1.444 GB, free: 6.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/1.321, allocations: 4 kB / 1.444 GB, free: 6.691 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/1.322, allocations: 131.8 kB / 1.444 GB, free: 6.562 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.322, allocations: 4 kB / 1.444 GB, free: 6.559 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/1.322, allocations: 19.98 kB / 1.444 GB, free: 6.539 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.322, allocations: 7.938 kB / 1.444 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.322, allocations: 192 / 1.444 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.324, allocations: 1.082 MB / 1.445 GB, free: 5.414 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/1.324, allocations: 354.3 kB / 1.446 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/1.325, allocations: 19.98 kB / 1.446 GB, free: 5.027 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/1.326, allocations: 31.97 kB / 1.446 GB, free: 4.996 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.326, allocations: 52.58 kB / 1.446 GB, free: 4.941 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/1.326, allocations: 24 kB / 1.446 GB, free: 4.918 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001851/1.328, allocations: 1.256 MB / 1.447 GB, free: 3.648 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.328, allocations: 0 / 1.447 GB, free: 3.648 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002458/1.33, allocations: 0.8925 MB / 1.448 GB, free: 2.754 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.002563/1.333, allocations: 1.87 MB / 1.45 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003157/1.336, allocations: 1.618 MB / 1.451 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.336, allocations: 0 / 1.451 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006184/1.336, allocations: 411.5 kB / 1.452 GB, free: 14.83 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004817/1.341, allocations: 1.081 MB / 1.453 GB, free: 13.78 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/1.363, allocations: 13.1 MB / 1.466 GB, free: 368 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.364, allocations: 1.413 MB / 1.467 GB, free: 14.91 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001793/1.366, allocations: 401.5 kB / 1.467 GB, free: 14.52 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.367, allocations: 0.8312 MB / 1.468 GB, free: 13.69 MB / 1.154 GB Notification: Performance of SimCode: time 7.71e-07/1.367, allocations: 0 / 1.468 GB, free: 13.69 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/1.469, allocations: 57.02 MB / 1.524 GB, free: 5.434 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.59, allocations: 17.56 kB / 1.524 GB, free: 5.418 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