Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.272/2.272, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001014/0.001014, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0009217/0.0009219, allocations: 91.95 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.25e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2672, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.607/5.875, allocations: 1.866 GB / 3.085 GB, free: 365.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/5.875, allocations: 79.7 kB / 3.085 GB, free: 365.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.411/6.286, allocations: 217.3 MB / 3.297 GB, free: 184.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.714e-06/6.286, allocations: 0 / 3.297 GB, free: 184.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.712e-05/6.286, allocations: 7.938 kB / 3.297 GB, free: 184.9 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001868/6.288, allocations: 0.6155 MB / 3.298 GB, free: 184.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/6.288, allocations: 12.03 kB / 3.298 GB, free: 184.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.08e-05/6.288, allocations: 50.55 kB / 3.298 GB, free: 184.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/6.288, allocations: 59.62 kB / 3.298 GB, free: 184.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/6.289, allocations: 286.5 kB / 3.298 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/6.289, allocations: 16 kB / 3.298 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/6.289, allocations: 12 kB / 3.298 GB, free: 183.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/6.289, allocations: 221.3 kB / 3.298 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/6.289, allocations: 0 / 3.298 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/6.289, allocations: 8 kB / 3.298 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/6.289, allocations: 12.25 kB / 3.298 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/6.29, allocations: 176.5 kB / 3.299 GB, free: 183.3 MB / 1.167 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.001366/6.291, allocations: 0.8834 MB / 3.299 GB, free: 182.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/6.291, allocations: 133.6 kB / 3.3 GB, free: 182.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/6.291, allocations: 97.05 kB / 3.3 GB, free: 182.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/6.292, allocations: 186.2 kB / 3.3 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/6.292, allocations: 46.5 kB / 3.3 GB, free: 181.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/6.292, allocations: 0 / 3.3 GB, free: 181.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.0005172/6.292, allocations: 221.2 kB / 3.3 GB, free: 181.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/6.292, allocations: 55.41 kB / 3.3 GB, free: 181.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/6.292, allocations: 209.1 kB / 3.3 GB, free: 181.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/6.293, allocations: 33.7 kB / 3.3 GB, free: 181.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/6.293, allocations: 136.3 kB / 3.301 GB, free: 181.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/6.293, allocations: 51.3 kB / 3.301 GB, free: 181.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/6.293, allocations: 4 kB / 3.301 GB, free: 181.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/6.293, allocations: 338.8 kB / 3.301 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/6.293, allocations: 67.95 kB / 3.301 GB, free: 180.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/6.293, allocations: 105.5 kB / 3.301 GB, free: 180.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/6.293, allocations: 83.88 kB / 3.301 GB, free: 180.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/6.293, allocations: 0 / 3.301 GB, free: 180.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002914/6.293, allocations: 205.3 kB / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/6.293, allocations: 11.95 kB / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/6.293, allocations: 0 / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/6.293, allocations: 0 / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/6.294, allocations: 35.97 kB / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/6.294, allocations: 3.984 kB / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/6.294, allocations: 35.89 kB / 3.301 GB, free: 180.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/6.294, allocations: 4 kB / 3.301 GB, free: 180.2 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 () * 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 7.05e-05/6.294, allocations: 116.9 kB / 3.302 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/6.294, allocations: 23.72 kB / 3.302 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/6.294, allocations: 29.92 kB / 3.302 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/6.294, allocations: 4 kB / 3.302 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/6.294, allocations: 0 / 3.302 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/6.294, allocations: 7.984 kB / 3.302 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/6.295, allocations: 0.6875 MB / 3.302 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/6.295, allocations: 4.031 kB / 3.302 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/6.295, allocations: 39.91 kB / 3.302 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/6.295, allocations: 7.938 kB / 3.302 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/6.295, allocations: 7.984 kB / 3.302 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/6.295, allocations: 4.062 kB / 3.302 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/6.295, allocations: 4 kB / 3.302 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/6.296, allocations: 436.9 kB / 3.303 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/6.296, allocations: 120.8 kB / 3.303 GB, free: 178.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/6.296, allocations: 4 kB / 3.303 GB, free: 178.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/6.296, allocations: 15.98 kB / 3.303 GB, free: 178.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/6.296, allocations: 23.88 kB / 3.303 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/6.296, allocations: 11.98 kB / 3.303 GB, free: 178.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001239/6.296, allocations: 173.4 kB / 3.303 GB, free: 178.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.296, allocations: 3.938 kB / 3.303 GB, free: 178.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006103/6.297, allocations: 131.9 kB / 3.303 GB, free: 178.2 MB / 1.167 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.00178/6.299, allocations: 2.225 MB / 3.305 GB, free: 175.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002982/6.299, allocations: 167.8 kB / 3.306 GB, free: 175.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/6.299, allocations: 0 / 3.306 GB, free: 175.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/6.299, allocations: 104 kB / 3.306 GB, free: 175.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/6.3, allocations: 120.1 kB / 3.306 GB, free: 175.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/6.3, allocations: 405.6 kB / 3.306 GB, free: 175.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/6.301, allocations: 0.7599 MB / 3.307 GB, free: 174.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002603/6.301, allocations: 74.02 kB / 3.307 GB, free: 174.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/6.301, allocations: 67.41 kB / 3.307 GB, free: 174.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.61e-07/6.301, allocations: 0 / 3.307 GB, free: 174.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/6.342, allocations: 22.83 MB / 3.329 GB, free: 151.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/6.342, allocations: 209.3 kB / 3.33 GB, free: 151.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/8.878, allocations: 4 kB / 3.33 GB, free: 151.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat