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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009473/0.0009473, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005749/0.005749, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6153, allocations: 142.4 MB / 0.9552 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1273/0.7427, allocations: 151.1 MB / 1.103 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03516/0.7778, allocations: 30.15 MB / 1.132 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003546/0.7814, allocations: 123.1 kB / 1.132 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.7834, allocations: 0.8116 MB / 1.133 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006438/0.7899, allocations: 2.897 MB / 1.136 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.7947, allocations: 2.293 MB / 1.138 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006674/0.8014, allocations: 7.404 MB / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.8036, allocations: 1.851 MB / 1.147 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.8073, allocations: 2.364 MB / 1.149 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.8094, allocations: 1.906 MB / 1.151 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.8096, allocations: 96 kB / 1.151 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.8113, allocations: 0.9436 MB / 1.152 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.8117, allocations: 437.8 kB / 1.153 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009346/0.8127, allocations: 1.148 MB / 1.154 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.8152, allocations: 3.126 MB / 1.157 GB, free: 100 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8152, allocations: 0 / 1.157 GB, free: 100 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8152, allocations: 3.938 kB / 1.157 GB, free: 96 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.8152, allocations: 4 kB / 1.157 GB, free: 92 kB / 0.9044 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.003686/0.8189, allocations: 2.34 MB / 1.159 GB, free: 13.69 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.819, allocations: 11.97 kB / 1.159 GB, free: 13.68 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.8192, allocations: 177.4 kB / 1.159 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.8195, allocations: 264.8 kB / 1.16 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.8214, allocations: 1.45 MB / 1.161 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.8214, allocations: 102.3 kB / 1.161 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.8217, allocations: 136 kB / 1.161 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.8236, allocations: 1.167 MB / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.8236, allocations: 0 / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.8237, allocations: 44 kB / 1.162 GB, free: 10.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.8237, allocations: 32 kB / 1.163 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.8255, allocations: 1.028 MB / 1.164 GB, free: 9.168 MB / 0.92 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.008172/0.8336, allocations: 6.365 MB / 1.17 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.8345, allocations: 0.5772 MB / 1.17 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.8351, allocations: 387.8 kB / 1.171 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.8354, allocations: 0.507 MB / 1.171 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.8355, allocations: 43.12 kB / 1.171 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001145/0.8366, allocations: 338.7 kB / 1.172 GB, free: 372 kB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 2.074e-06/0.8366, allocations: 0 / 1.172 GB, free: 372 kB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.001838/0.8385, allocations: 1.137 MB / 1.173 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.8385, allocations: 59.91 kB / 1.173 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.8406, allocations: 1.9 MB / 1.175 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.8407, allocations: 49.7 kB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/0.8413, allocations: 0.9145 MB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.8415, allocations: 197.1 kB / 1.176 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.8416, allocations: 125.6 kB / 1.176 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8417, allocations: 353.9 kB / 1.176 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.8425, allocations: 442.4 kB / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.8434, allocations: 0.6879 MB / 1.177 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.8448, allocations: 0.9579 MB / 1.178 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8448, allocations: 4 kB / 1.178 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002118/0.847, allocations: 1.408 MB / 1.18 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/0.8471, allocations: 198.3 kB / 1.18 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8471, allocations: 0 / 1.18 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.8471, allocations: 8 kB / 1.18 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.8483, allocations: 295.5 kB / 1.18 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.8483, allocations: 8 kB / 1.18 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.8498, allocations: 151.6 kB / 1.18 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.8499, allocations: 60 kB / 1.18 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.8499, allocations: 7.938 kB / 1.18 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001801/0.8517, allocations: 1.159 MB / 1.181 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8517, allocations: 4 kB / 1.181 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8517, allocations: 11.94 kB / 1.181 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.8529, allocations: 279.8 kB / 1.182 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.8529, allocations: 19.92 kB / 1.182 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.8542, allocations: 147.6 kB / 1.182 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/0.8543, allocations: 63.95 kB / 1.182 GB, free: 5.508 MB / 0.9356 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.0005854/0.8549, allocations: 444.8 kB / 1.182 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.8551, allocations: 205.4 kB / 1.182 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.857, allocations: 1.073 MB / 1.184 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.857, allocations: 8 kB / 1.184 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.857, allocations: 0 / 1.184 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.8571, allocations: 11.92 kB / 1.184 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.8601, allocations: 2.406 MB / 1.186 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.8602, allocations: 11.92 kB / 1.186 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.8607, allocations: 135.8 kB / 1.186 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.8607, allocations: 4 kB / 1.186 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.8608, allocations: 23.98 kB / 1.186 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.8608, allocations: 7.938 kB / 1.186 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8608, allocations: 3.938 kB / 1.186 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.8621, allocations: 1.062 MB / 1.187 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.8626, allocations: 378.1 kB / 1.187 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.8628, allocations: 16 kB / 1.188 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009074/0.8637, allocations: 99.66 kB / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.8638, allocations: 52.53 kB / 1.188 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.8638, allocations: 27.98 kB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001438/0.8653, allocations: 1.256 MB / 1.189 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8653, allocations: 0 / 1.189 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001693/0.867, allocations: 0.9005 MB / 1.19 GB, free: 13.24 MB / 0.9512 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.002004/0.869, allocations: 1.862 MB / 1.192 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002379/0.8714, allocations: 1.611 MB / 1.193 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8714, allocations: 8.375 kB / 1.193 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.872, allocations: 403.5 kB / 1.194 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/0.8776, allocations: 1.132 MB / 1.195 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/0.8992, allocations: 15.84 MB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/0.9001, allocations: 1.405 MB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001559/0.9016, allocations: 404.8 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000994/0.9026, allocations: 0.8312 MB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of SimCode: time 7.01e-07/0.9026, allocations: 4 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.256/3.158, allocations: 54 MB / 1.265 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/3.159, allocations: 270.2 kB / 1.266 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.806/6.965, allocations: 0 / 1.266 GB, free: 275.4 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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