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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.695/2.695, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001116, allocations: 180 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 92.22 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 10.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.946/1.203, allocations: 397.6 MB / 1.618 GB, free: 14.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004291/1.204, allocations: 97.66 kB / 1.618 GB, free: 14.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.415/2.619, allocations: 418.8 MB / 2.027 GB, free: 301.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.833e-06/2.619, allocations: 0 / 2.027 GB, free: 301.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.577e-05/2.619, allocations: 37.48 kB / 2.027 GB, free: 301.1 MB / 1.167 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.001928/2.621, allocations: 1.187 MB / 2.028 GB, free: 299.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/2.621, allocations: 8.031 kB / 2.028 GB, free: 299.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.586e-05/2.621, allocations: 86.52 kB / 2.028 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/2.621, allocations: 99.17 kB / 2.028 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/2.622, allocations: 0.5959 MB / 2.029 GB, free: 299.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/2.622, allocations: 41 kB / 2.029 GB, free: 299 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/2.623, allocations: 59.94 kB / 2.029 GB, free: 299 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/2.623, allocations: 401.1 kB / 2.029 GB, free: 298.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/2.623, allocations: 0 / 2.029 GB, free: 298.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/2.623, allocations: 23.94 kB / 2.029 GB, free: 298.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/2.623, allocations: 12 kB / 2.029 GB, free: 298.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/2.624, allocations: 302.3 kB / 2.029 GB, free: 298.2 MB / 1.167 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.002512/2.626, allocations: 1.857 MB / 2.031 GB, free: 296.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/2.627, allocations: 176.4 kB / 2.031 GB, free: 296.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/2.627, allocations: 336.4 kB / 2.032 GB, free: 295.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/2.627, allocations: 30.56 kB / 2.032 GB, free: 295.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/2.627, allocations: 0 / 2.032 GB, free: 295.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.00071/2.628, allocations: 321.6 kB / 2.032 GB, free: 295.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/2.628, allocations: 55.41 kB / 2.032 GB, free: 295.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/2.628, allocations: 0.5925 MB / 2.033 GB, free: 294.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/2.628, allocations: 37.7 kB / 2.033 GB, free: 294.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/2.628, allocations: 364 kB / 2.033 GB, free: 294.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/2.628, allocations: 67.03 kB / 2.033 GB, free: 294.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/2.628, allocations: 8 kB / 2.033 GB, free: 294.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/2.629, allocations: 378 kB / 2.034 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/2.629, allocations: 104.7 kB / 2.034 GB, free: 293.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/2.629, allocations: 217.3 kB / 2.034 GB, free: 293.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/2.629, allocations: 136.7 kB / 2.034 GB, free: 293.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/2.629, allocations: 0 / 2.034 GB, free: 293.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006063/2.63, allocations: 398.2 kB / 2.034 GB, free: 292.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.82e-05/2.63, allocations: 273.6 kB / 2.035 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/2.63, allocations: 0 / 2.035 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/2.63, allocations: 7.938 kB / 2.035 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/2.631, allocations: 134.6 kB / 2.035 GB, free: 292.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008484/2.632, allocations: 2.373 MB / 2.037 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/2.632, allocations: 80.88 kB / 2.037 GB, free: 290 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/2.632, allocations: 19.98 kB / 2.037 GB, free: 290 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/2.632, allocations: 8.812 kB / 2.037 GB, free: 290 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004875/2.633, allocations: 287.8 kB / 2.037 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/2.633, allocations: 0 / 2.037 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/2.633, allocations: 6.562 kB / 2.037 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/2.633, allocations: 103.8 kB / 2.038 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/2.633, allocations: 4 kB / 2.038 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/2.634, allocations: 89.08 kB / 2.038 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/2.634, allocations: 23.09 kB / 2.038 GB, free: 289.5 MB / 1.167 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.0002344/2.634, allocations: 267.8 kB / 2.038 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/2.634, allocations: 71.06 kB / 2.038 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/2.635, allocations: 312.8 kB / 2.038 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/2.635, allocations: 4 kB / 2.038 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/2.635, allocations: 2.938 kB / 2.038 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/2.635, allocations: 0 / 2.038 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/2.636, allocations: 0.9 MB / 2.039 GB, free: 287.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/2.636, allocations: 4 kB / 2.039 GB, free: 287.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/2.636, allocations: 67.89 kB / 2.039 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/2.636, allocations: 6.594 kB / 2.039 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/2.636, allocations: 4 kB / 2.039 GB, free: 287.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006398/2.637, allocations: 2.357 MB / 2.042 GB, free: 285.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/2.637, allocations: 7.969 kB / 2.042 GB, free: 285.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/2.638, allocations: 458.4 kB / 2.042 GB, free: 284.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/2.638, allocations: 176 kB / 2.042 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/2.638, allocations: 7.984 kB / 2.042 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/2.638, allocations: 50.55 kB / 2.042 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/2.638, allocations: 23.92 kB / 2.042 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/2.638, allocations: 8 kB / 2.042 GB, free: 284.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004815/2.639, allocations: 467 kB / 2.043 GB, free: 284.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/2.639, allocations: 3.125 kB / 2.043 GB, free: 284.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001339/2.64, allocations: 387.4 kB / 2.043 GB, free: 283.7 MB / 1.167 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.001909/2.642, allocations: 1.638 MB / 2.045 GB, free: 282.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001532/2.644, allocations: 457.3 kB / 2.045 GB, free: 281.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/2.644, allocations: 3.938 kB / 2.045 GB, free: 281.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/2.644, allocations: 141.5 kB / 2.045 GB, free: 281.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/2.646, allocations: 371.5 kB / 2.046 GB, free: 281.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/2.649, allocations: 2.035 MB / 2.048 GB, free: 279.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/2.65, allocations: 0.9453 MB / 2.048 GB, free: 278.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005482/2.65, allocations: 120.8 kB / 2.049 GB, free: 278 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/2.651, allocations: 251.3 kB / 2.049 GB, free: 277.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.613e-06/2.651, allocations: 0 / 2.049 GB, free: 277.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/2.687, allocations: 21.94 MB / 2.07 GB, free: 256.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/2.687, allocations: 281.5 kB / 2.071 GB, free: 256 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/5.534, allocations: 2.031 kB / 2.071 GB, free: 256 MB / 1.167 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) 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