Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.001979/0.001979, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.002911/0.002911, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.897/2.897, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.052/5.052, allocations: 409.2 MB / 0.6838 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.0006035, allocations: 15.98 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498/1.498, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.04459/1.543, allocations: 25.83 MB / 1.006 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02113/1.564, allocations: 9.265 MB / 1.015 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/1.568, allocations: 23.81 kB / 1.015 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003197/1.571, allocations: 346.2 kB / 1.015 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/1.582, allocations: 1.136 MB / 1.017 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006188/1.588, allocations: 0.9107 MB / 1.017 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005362/1.593, allocations: 1.238 MB / 1.019 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/1.595, allocations: 0.5344 MB / 1.019 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/1.598, allocations: 0.7825 MB / 1.02 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.6, allocations: 458.1 kB / 1.02 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002714/1.6, allocations: 32 kB / 1.02 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/1.602, allocations: 391.4 kB / 1.021 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000467/1.603, allocations: 127.4 kB / 1.021 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008896/1.604, allocations: 181.3 kB / 1.021 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/1.606, allocations: 0.7112 MB / 1.022 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.606, allocations: 0 / 1.022 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.665e-06/1.606, allocations: 4 kB / 1.022 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.824e-05/1.606, allocations: 0 / 1.022 GB, free: 12.26 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.003558/1.61, allocations: 1.016 MB / 1.023 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.592e-05/1.61, allocations: 15.91 kB / 1.023 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/1.61, allocations: 90.52 kB / 1.023 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/1.611, allocations: 94.88 kB / 1.023 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/1.612, allocations: 0.5265 MB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/1.612, allocations: 44.98 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.612, allocations: 52 kB / 1.024 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.614, allocations: 414.4 kB / 1.024 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/1.614, allocations: 0 / 1.024 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/1.614, allocations: 20 kB / 1.024 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/1.614, allocations: 12 kB / 1.024 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/1.615, allocations: 307.8 kB / 1.024 GB, free: 9.582 MB / 0.7794 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.005146/1.62, allocations: 1.858 MB / 1.026 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/1.62, allocations: 170.5 kB / 1.026 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/1.621, allocations: 340.4 kB / 1.027 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/1.621, allocations: 34.56 kB / 1.027 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 4.92e-06/1.621, allocations: 0 / 1.027 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001204/1.622, allocations: 325.7 kB / 1.027 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/1.622, allocations: 59.41 kB / 1.027 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.624, allocations: 0.6765 MB / 1.028 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/1.624, allocations: 33.7 kB / 1.028 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/1.624, allocations: 364.7 kB / 1.028 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/1.624, allocations: 67.09 kB / 1.028 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/1.625, allocations: 8 kB / 1.028 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002833/1.625, allocations: 374.8 kB / 1.029 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/1.625, allocations: 104.7 kB / 1.029 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/1.626, allocations: 171.8 kB / 1.029 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/1.626, allocations: 129.5 kB / 1.029 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.626, allocations: 0 / 1.029 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001314/1.628, allocations: 394.5 kB / 1.029 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002375/1.628, allocations: 278.9 kB / 1.03 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.628, allocations: 0 / 1.03 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/1.628, allocations: 4.094 kB / 1.03 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/1.63, allocations: 171.8 kB / 1.03 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/1.632, allocations: 2.367 MB / 1.032 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/1.633, allocations: 91.72 kB / 1.032 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/1.633, allocations: 19.98 kB / 1.032 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.633, allocations: 4 kB / 1.032 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/1.634, allocations: 291.8 kB / 1.032 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.634, allocations: 0 / 1.032 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/1.634, allocations: 0 / 1.032 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/1.635, allocations: 103.9 kB / 1.032 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.635, allocations: 0 / 1.032 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/1.636, allocations: 83.53 kB / 1.033 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/1.636, allocations: 16 kB / 1.033 GB, free: 0.6836 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007313/1.637, allocations: 265 kB / 1.033 GB, free: 424 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/1.637, allocations: 67.16 kB / 1.033 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/1.639, allocations: 328.3 kB / 1.033 GB, free: 24 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.639, allocations: 3.938 kB / 1.033 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.639, allocations: 4 kB / 1.033 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.639, allocations: 0 / 1.033 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/1.641, allocations: 0.9048 MB / 1.034 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.641, allocations: 3.953 kB / 1.034 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/1.641, allocations: 79.88 kB / 1.034 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.641, allocations: 0 / 1.034 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/1.641, allocations: 4 kB / 1.034 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/1.643, allocations: 2.356 MB / 1.036 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/1.643, allocations: 4.281 kB / 1.037 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000956/1.644, allocations: 454.2 kB / 1.037 GB, free: 12.01 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/1.644, allocations: 176.1 kB / 1.037 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.645, allocations: 0 / 1.037 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/1.645, allocations: 55.84 kB / 1.037 GB, free: 11.76 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.645, allocations: 23.92 kB / 1.037 GB, free: 11.74 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/1.645, allocations: 11.98 kB / 1.037 GB, free: 11.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001175/1.647, allocations: 467 kB / 1.038 GB, free: 11.27 MB / 0.795 GB Notification: Performance of sort global known variables: time 7.82e-07/1.647, allocations: 3.938 kB / 1.038 GB, free: 11.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001913/1.648, allocations: 347.1 kB / 1.038 GB, free: 10.93 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002571/1.651, allocations: 1.409 MB / 1.039 GB, free: 9.477 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002811/1.654, allocations: 0.496 MB / 1.04 GB, free: 8.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.654, allocations: 4 kB / 1.04 GB, free: 8.977 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008321/1.655, allocations: 143.8 kB / 1.04 GB, free: 8.836 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.658, allocations: 369 kB / 1.04 GB, free: 8.484 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/1.663, allocations: 2.032 MB / 1.042 GB, free: 6.375 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/1.664, allocations: 0.9492 MB / 1.043 GB, free: 5.398 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008968/1.665, allocations: 112.5 kB / 1.043 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/1.666, allocations: 259.3 kB / 1.044 GB, free: 5.035 MB / 0.795 GB Notification: Performance of SimCode: time 2.875e-06/1.666, allocations: 0 / 1.044 GB, free: 5.035 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/1.781, allocations: 18.03 MB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006036/1.782, allocations: 278.1 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.816/6.598, allocations: 0 / 1.061 GB, free: 3.098 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat does not exist to compare? outputFormat=mat