Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001094/0.001094, allocations: 179 kB / 492.3 MB, free: 0.6133 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.405/1.405, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009136/0.0009132, allocations: 91.47 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.104e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.347/5.621, allocations: 1.865 GB / 3.078 GB, free: 435.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/5.621, allocations: 82.97 kB / 3.078 GB, free: 435.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4321/6.053, allocations: 217.3 MB / 3.29 GB, free: 244.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.435e-06/6.053, allocations: 0 / 3.29 GB, free: 244.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.257e-05/6.053, allocations: 8 kB / 3.29 GB, free: 244.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002489/6.056, allocations: 0.6233 MB / 3.291 GB, free: 244.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/6.056, allocations: 12.03 kB / 3.291 GB, free: 244.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/6.056, allocations: 46.55 kB / 3.291 GB, free: 244.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/6.057, allocations: 47.69 kB / 3.291 GB, free: 244.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/6.057, allocations: 305.9 kB / 3.291 GB, free: 243.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/6.057, allocations: 8 kB / 3.291 GB, free: 243.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/6.058, allocations: 20 kB / 3.291 GB, free: 243.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/6.058, allocations: 226 kB / 3.291 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/6.058, allocations: 0 / 3.291 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/6.058, allocations: 8 kB / 3.291 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/6.058, allocations: 4.328 kB / 3.291 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/6.058, allocations: 172.6 kB / 3.291 GB, free: 243.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001603/6.06, allocations: 0.8873 MB / 3.292 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/6.06, allocations: 118.5 kB / 3.292 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/6.06, allocations: 96.81 kB / 3.293 GB, free: 242.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/6.061, allocations: 194.4 kB / 3.293 GB, free: 242 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/6.061, allocations: 46.45 kB / 3.293 GB, free: 241.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/6.061, allocations: 0 / 3.293 GB, free: 241.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0006108/6.061, allocations: 217.3 kB / 3.293 GB, free: 241.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/6.061, allocations: 55.41 kB / 3.293 GB, free: 241.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/6.062, allocations: 217.1 kB / 3.293 GB, free: 241.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/6.062, allocations: 33.64 kB / 3.293 GB, free: 241.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/6.062, allocations: 140.3 kB / 3.293 GB, free: 241.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/6.062, allocations: 51.3 kB / 3.293 GB, free: 241.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/6.062, allocations: 0 / 3.293 GB, free: 241.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/6.062, allocations: 326.8 kB / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/6.062, allocations: 71.95 kB / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/6.062, allocations: 117.5 kB / 3.294 GB, free: 240.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/6.062, allocations: 75.19 kB / 3.294 GB, free: 240.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/6.062, allocations: 0 / 3.294 GB, free: 240.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000325/6.063, allocations: 213.3 kB / 3.294 GB, free: 240.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/6.063, allocations: 8 kB / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/6.063, allocations: 0 / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/6.063, allocations: 8.016 kB / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/6.063, allocations: 35.97 kB / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/6.063, allocations: 0 / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/6.063, allocations: 35.67 kB / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/6.063, allocations: 11.98 kB / 3.294 GB, free: 240.3 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.943e-05/6.063, allocations: 117.9 kB / 3.294 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/6.063, allocations: 19.81 kB / 3.294 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.109e-05/6.064, allocations: 29.95 kB / 3.294 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/6.064, allocations: 7.953 kB / 3.294 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/6.064, allocations: 0 / 3.294 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/6.064, allocations: 0 / 3.294 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/6.065, allocations: 0.6873 MB / 3.295 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/6.065, allocations: 0 / 3.295 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/6.065, allocations: 51.83 kB / 3.295 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/6.065, allocations: 4 kB / 3.295 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/6.065, allocations: 0 / 3.295 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/6.065, allocations: 8.219 kB / 3.295 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/6.065, allocations: 4 kB / 3.295 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/6.065, allocations: 429 kB / 3.296 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/6.065, allocations: 116.9 kB / 3.296 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/6.065, allocations: 7.938 kB / 3.296 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/6.066, allocations: 19.98 kB / 3.296 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/6.066, allocations: 15.88 kB / 3.296 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/6.066, allocations: 15.98 kB / 3.296 GB, free: 238.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001329/6.066, allocations: 173.4 kB / 3.296 GB, free: 238.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/6.066, allocations: 0 / 3.296 GB, free: 238.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007086/6.067, allocations: 139.8 kB / 3.296 GB, free: 238.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.002078/6.069, allocations: 2.223 MB / 3.298 GB, free: 236 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003031/6.069, allocations: 179.8 kB / 3.298 GB, free: 235.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/6.069, allocations: 0 / 3.298 GB, free: 235.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/6.069, allocations: 91.89 kB / 3.299 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/6.07, allocations: 119.1 kB / 3.299 GB, free: 235.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/6.071, allocations: 405.6 kB / 3.299 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/6.071, allocations: 0.756 MB / 3.3 GB, free: 234.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002647/6.071, allocations: 70.02 kB / 3.3 GB, free: 234.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/6.071, allocations: 75.41 kB / 3.3 GB, free: 234.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.583e-06/6.071, allocations: 0 / 3.3 GB, free: 234.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/6.114, allocations: 22.83 MB / 3.322 GB, free: 211.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/6.114, allocations: 198.8 kB / 3.322 GB, free: 211.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/8.59, allocations: 3.938 kB / 3.322 GB, free: 211.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat