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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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.001188/0.001188, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001672/0.001672, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.502/2.502, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 11.98 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8306, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1304/0.9611, allocations: 142.7 MB / 1.12 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04015/1.001, allocations: 28.63 MB / 1.148 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005319/1.007, allocations: 123.1 kB / 1.149 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/1.009, allocations: 0.6905 MB / 1.149 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008375/1.018, allocations: 2.505 MB / 1.152 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005919/1.024, allocations: 2.015 MB / 1.154 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00827/1.032, allocations: 6.244 MB / 1.16 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003603/1.036, allocations: 1.681 MB / 1.161 GB, free: 13.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006503/1.042, allocations: 2.212 MB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004139/1.046, allocations: 1.801 MB / 1.165 GB, free: 9.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007097/1.047, allocations: 96 kB / 1.165 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/1.05, allocations: 0.8501 MB / 1.166 GB, free: 8.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008776/1.051, allocations: 418 kB / 1.167 GB, free: 7.883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/1.052, allocations: 468.5 kB / 1.167 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003748/1.056, allocations: 2.412 MB / 1.169 GB, free: 5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.056, allocations: 0 / 1.169 GB, free: 5 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.304e-06/1.056, allocations: 0 / 1.169 GB, free: 5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001561/1.056, allocations: 0 / 1.169 GB, free: 5 MB / 0.92 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.005371/1.062, allocations: 2.375 MB / 1.172 GB, free: 2.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.062, allocations: 8.031 kB / 1.172 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003789/1.062, allocations: 177.4 kB / 1.172 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007576/1.063, allocations: 264.8 kB / 1.172 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/1.065, allocations: 1.369 MB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/1.065, allocations: 102.3 kB / 1.174 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/1.066, allocations: 140 kB / 1.174 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/1.068, allocations: 1.159 MB / 1.175 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/1.068, allocations: 0 / 1.175 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.068, allocations: 47.95 kB / 1.175 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/1.068, allocations: 28 kB / 1.175 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.07, allocations: 1.02 MB / 1.176 GB, free: 14.14 MB / 0.9356 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.009804/1.08, allocations: 6.342 MB / 1.182 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.081, allocations: 0.5669 MB / 1.183 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/1.081, allocations: 391.7 kB / 1.183 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/1.082, allocations: 0.507 MB / 1.184 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/1.082, allocations: 39.12 kB / 1.184 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001729/1.084, allocations: 330.8 kB / 1.184 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=58): time 1.011e-05/1.084, allocations: 0 / 1.184 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58): time 0.002206/1.086, allocations: 1.137 MB / 1.185 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.086, allocations: 55.97 kB / 1.185 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/1.089, allocations: 1.885 MB / 1.187 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/1.089, allocations: 41.7 kB / 1.187 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/1.09, allocations: 0.9223 MB / 1.188 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/1.09, allocations: 205.1 kB / 1.188 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/1.09, allocations: 24 kB / 1.188 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.091, allocations: 350 kB / 1.188 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/1.091, allocations: 410.4 kB / 1.189 GB, free: 312 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009867/1.092, allocations: 0.6566 MB / 1.189 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/1.093, allocations: 494.3 kB / 1.19 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.093, allocations: 0 / 1.19 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002287/1.096, allocations: 1.342 MB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.096, allocations: 190.3 kB / 1.191 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.096, allocations: 4 kB / 1.191 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/1.096, allocations: 8 kB / 1.191 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.097, allocations: 283.6 kB / 1.192 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/1.097, allocations: 8 kB / 1.192 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.099, allocations: 147.6 kB / 1.192 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/1.099, allocations: 59.95 kB / 1.192 GB, free: 13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.099, allocations: 4 kB / 1.192 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/1.101, allocations: 1.116 MB / 1.193 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.101, allocations: 8.375 kB / 1.193 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.101, allocations: 15.94 kB / 1.193 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.102, allocations: 267.6 kB / 1.193 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/1.102, allocations: 11.94 kB / 1.193 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.103, allocations: 143.6 kB / 1.193 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.103, allocations: 63.95 kB / 1.193 GB, free: 11.38 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007636/1.104, allocations: 444.8 kB / 1.194 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/1.105, allocations: 205.4 kB / 1.194 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/1.107, allocations: 1.073 MB / 1.195 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.107, allocations: 11.98 kB / 1.195 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.107, allocations: 4 kB / 1.195 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.107, allocations: 3.984 kB / 1.195 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/1.111, allocations: 2.406 MB / 1.197 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.111, allocations: 0 / 1.197 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/1.111, allocations: 139.8 kB / 1.198 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.111, allocations: 12.12 kB / 1.198 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/1.111, allocations: 16 kB / 1.198 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/1.111, allocations: 7.984 kB / 1.198 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.111, allocations: 7.953 kB / 1.198 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/1.113, allocations: 1.05 MB / 1.199 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/1.114, allocations: 378.2 kB / 1.199 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/1.114, allocations: 16 kB / 1.199 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/1.115, allocations: 95.75 kB / 1.199 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.115, allocations: 64.47 kB / 1.199 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/1.115, allocations: 24 kB / 1.199 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001867/1.117, allocations: 1.233 MB / 1.2 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/1.117, allocations: 0 / 1.2 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002403/1.12, allocations: 0.8887 MB / 1.201 GB, free: 3.156 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002524/1.122, allocations: 1.84 MB / 1.203 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003034/1.125, allocations: 1.548 MB / 1.205 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.125, allocations: 0 / 1.205 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006224/1.126, allocations: 404.6 kB / 1.205 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005865/1.132, allocations: 1.135 MB / 1.206 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.155, allocations: 11.19 MB / 1.217 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.156, allocations: 1.405 MB / 1.218 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002208/1.158, allocations: 407.7 kB / 1.219 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.16, allocations: 0.8273 MB / 1.22 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/1.16, allocations: 0 / 1.22 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6173/1.777, allocations: 53.67 MB / 1.272 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/1.777, allocations: 255 kB / 1.272 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.73/5.508, allocations: 0 / 1.272 GB, free: 255.9 MB / 0.9981 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat does not exist to compare? outputFormat=mat