Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.262/2.262, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001165/0.001165, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.595/1.595, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009453/0.0009451, allocations: 106.6 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.213e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.27, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9305/1.201, allocations: 152.3 MB / 1.355 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/1.201, allocations: 91.7 kB / 1.355 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01356/1.214, allocations: 5.272 MB / 1.36 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.214, allocations: 0 / 1.36 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.214, allocations: 0 / 1.36 GB, free: 33.71 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004576/1.215, allocations: 433.6 kB / 1.36 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.215, allocations: 8.188 kB / 1.36 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/1.215, allocations: 15.56 kB / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/1.215, allocations: 260.2 kB / 1.361 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/1.215, allocations: 0 / 1.361 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/1.215, allocations: 7.25 kB / 1.361 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00028/1.216, allocations: 186 kB / 1.361 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/1.216, allocations: 117.2 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.216, allocations: 0 / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.216, allocations: 3.938 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.216, allocations: 3.844 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/1.216, allocations: 232.7 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/1.216, allocations: 197.3 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/1.217, allocations: 57.41 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.217, allocations: 3.828 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/1.217, allocations: 118.6 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/1.217, allocations: 4 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003345/1.217, allocations: 188.5 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/1.217, allocations: 80.92 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/1.217, allocations: 216 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/1.217, allocations: 29.39 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/1.217, allocations: 111 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/1.218, allocations: 42.64 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/1.218, allocations: 0 / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.218, allocations: 333 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/1.218, allocations: 57.42 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-05/1.218, allocations: 79.3 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/1.218, allocations: 57.83 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.218, allocations: 0 / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002668/1.218, allocations: 202.7 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.218, allocations: 3.969 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.218, allocations: 3.938 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.218, allocations: 5.984 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.218, allocations: 29.5 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.218, allocations: 336 / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/1.218, allocations: 9.719 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/1.219, allocations: 7.844 kB / 1.363 GB, free: 31.99 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 8.401e-05/1.219, allocations: 119.4 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002319/1.219, allocations: 192.1 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/1.219, allocations: 18.25 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/1.219, allocations: 271.8 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.219, allocations: 3.906 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.219, allocations: 0 / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.219, allocations: 3.188 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/1.219, allocations: 245.8 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.219, allocations: 0 / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/1.22, allocations: 30.58 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.22, allocations: 0 / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.22, allocations: 3.844 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.22, allocations: 7.281 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.22, allocations: 0 / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/1.22, allocations: 258 kB / 1.364 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/1.22, allocations: 109.8 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/1.22, allocations: 3.094 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/1.22, allocations: 3.844 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/1.22, allocations: 17.38 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/1.22, allocations: 11.69 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001421/1.22, allocations: 181.4 kB / 1.364 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.22, allocations: 0 / 1.364 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002538/1.221, allocations: 45.5 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001286/1.222, allocations: 1.081 MB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002127/1.222, allocations: 158.2 kB / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.222, allocations: 0 / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.222, allocations: 83.67 kB / 1.366 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/1.222, allocations: 32 kB / 1.366 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/1.223, allocations: 316.8 kB / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/1.223, allocations: 0.7396 MB / 1.367 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001111/1.223, allocations: 56.23 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/1.224, allocations: 67.19 kB / 1.367 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.224, allocations: 0 / 1.367 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/1.247, allocations: 4.452 MB / 1.371 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.248, allocations: 203 kB / 1.371 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.999, allocations: 0 / 1.371 GB, free: 29.1 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat does not exist to compare? outputFormat=mat