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.318/2.318, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001122/0.001122, allocations: 181.1 kB / 498.1 MB, free: 5.746 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.67/1.67, allocations: 223.1 MB / 0.7948 GB, free: 18 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.0009486/0.0009487, allocations: 97.27 kB / 0.9346 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 10.75 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2977, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.4924, allocations: 153 MB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.4928, allocations: 99.94 kB / 1.372 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.5082, allocations: 5.586 MB / 1.378 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5083, allocations: 0 / 1.378 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.5083, allocations: 0 / 1.378 GB, free: 3.359 MB / 0.8698 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.0006545/0.509, allocations: 486.3 kB / 1.378 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.509, allocations: 8.031 kB / 1.378 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.5091, allocations: 34.56 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.5091, allocations: 23.75 kB / 1.378 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.5095, allocations: 246.8 kB / 1.379 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5095, allocations: 4 kB / 1.379 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.5095, allocations: 4 kB / 1.379 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.5098, allocations: 135.2 kB / 1.379 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5098, allocations: 3.984 kB / 1.379 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.5098, allocations: 4 kB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.5098, allocations: 0 / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.5101, allocations: 191.7 kB / 1.379 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.5104, allocations: 253.4 kB / 1.379 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.5109, allocations: 214.5 kB / 1.379 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.5109, allocations: 7.922 kB / 1.379 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.5111, allocations: 115.3 kB / 1.38 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.5112, allocations: 0 / 1.38 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0005331/0.5117, allocations: 257 kB / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.5118, allocations: 81.11 kB / 1.38 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.512, allocations: 225.7 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.512, allocations: 41.62 kB / 1.38 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.5121, allocations: 104.1 kB / 1.38 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.5122, allocations: 43.77 kB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5122, allocations: 7.938 kB / 1.38 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5123, allocations: 334.8 kB / 1.381 GB, free: 368 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5124, allocations: 63.84 kB / 1.381 GB, free: 304 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.5125, allocations: 82.53 kB / 1.381 GB, free: 212 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.5126, allocations: 67.97 kB / 1.381 GB, free: 144 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5126, allocations: 0 / 1.381 GB, free: 144 kB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003328/0.513, allocations: 205.4 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.513, allocations: 11.98 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.513, allocations: 0 / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.513, allocations: 0 / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5132, allocations: 27.98 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.5132, allocations: 0 / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.5133, allocations: 15.97 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5133, allocations: 4 kB / 1.381 GB, free: 15.88 MB / 0.8855 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 () * Number of clocked 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 0.0001188/0.5134, allocations: 139.8 kB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.5135, allocations: 19.8 kB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.5139, allocations: 287 kB / 1.382 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.514, allocations: 8 kB / 1.382 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.514, allocations: 0 / 1.382 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.514, allocations: 0 / 1.382 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.5142, allocations: 277.5 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5142, allocations: 4 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5143, allocations: 39.92 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5144, allocations: 0 / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.5144, allocations: 4 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5144, allocations: 0 / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5144, allocations: 0 / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.5148, allocations: 275.4 kB / 1.382 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.5149, allocations: 112.8 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.5149, allocations: 4 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.515, allocations: 4 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.5151, allocations: 19.97 kB / 1.382 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.5151, allocations: 8 kB / 1.382 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001725/0.5153, allocations: 188.2 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5153, allocations: 0 / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002797/0.5156, allocations: 59.88 kB / 1.382 GB, free: 14.36 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001631/0.5172, allocations: 1.178 MB / 1.384 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.5175, allocations: 159.8 kB / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5175, allocations: 0 / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.5177, allocations: 93.02 kB / 1.384 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.5179, allocations: 39.64 kB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.5197, allocations: 1.264 MB / 1.385 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.52, allocations: 0.7445 MB / 1.386 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000131/0.5202, allocations: 49.5 kB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.5203, allocations: 67.41 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of SimCode: time 3.91e-07/0.5203, allocations: 0 / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.5397, allocations: 4.983 MB / 1.391 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.54, allocations: 250.7 kB / 1.391 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.408, allocations: 0 / 1.391 GB, free: 5.777 MB / 0.8855 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