Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.387/2.387, 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.001119/0.001119, allocations: 186.7 kB / 0.4902 GB, free: 2.227 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.801/1.801, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001134/0.001134, allocations: 102.4 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 14.34 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.5072, allocations: 153.8 MB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5075, allocations: 91.94 kB / 1.38 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.523, allocations: 5.594 MB / 1.385 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.774e-06/0.523, allocations: 4 kB / 1.385 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.523, allocations: 0 / 1.385 GB, free: 5.637 MB / 0.8855 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.00069/0.5237, allocations: 474.5 kB / 1.386 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5238, allocations: 8.031 kB / 1.386 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.5238, allocations: 42.5 kB / 1.386 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.5239, allocations: 19.77 kB / 1.386 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.5244, allocations: 250.7 kB / 1.386 GB, free: 4.762 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5244, allocations: 7.984 kB / 1.386 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.5244, allocations: 12 kB / 1.386 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.5247, allocations: 123.3 kB / 1.386 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5247, allocations: 0 / 1.386 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.5247, allocations: 0 / 1.386 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5247, allocations: 0 / 1.386 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.525, allocations: 199.7 kB / 1.386 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.5253, allocations: 257.4 kB / 1.386 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.5258, allocations: 210.4 kB / 1.387 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5259, allocations: 0 / 1.387 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.5261, allocations: 126.6 kB / 1.387 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.5261, allocations: 0 / 1.387 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005332/0.5267, allocations: 253.3 kB / 1.387 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.5267, allocations: 85.11 kB / 1.387 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.527, allocations: 225.4 kB / 1.387 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.527, allocations: 33.7 kB / 1.387 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.5271, allocations: 108.1 kB / 1.387 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.5272, allocations: 47.39 kB / 1.387 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.5272, allocations: 4 kB / 1.387 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5273, allocations: 334.8 kB / 1.388 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5274, allocations: 55.97 kB / 1.388 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.5276, allocations: 86.53 kB / 1.388 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.5277, allocations: 63.98 kB / 1.388 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5277, allocations: 0 / 1.388 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003443/0.5281, allocations: 213.4 kB / 1.388 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5281, allocations: 4 kB / 1.388 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5281, allocations: 0 / 1.388 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.5281, allocations: 336 / 1.388 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.5283, allocations: 31.98 kB / 1.388 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5283, allocations: 4 kB / 1.388 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.5284, allocations: 15.83 kB / 1.388 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5284, allocations: 8 kB / 1.388 GB, free: 2.156 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.0001326/0.5285, allocations: 139.1 kB / 1.388 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.5286, allocations: 15.81 kB / 1.388 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.5291, allocations: 290.4 kB / 1.389 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5291, allocations: 3.938 kB / 1.389 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5291, allocations: 0 / 1.389 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5291, allocations: 3.984 kB / 1.389 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.5294, allocations: 277.6 kB / 1.389 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5294, allocations: 0 / 1.389 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.5295, allocations: 31.98 kB / 1.389 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5295, allocations: 0 / 1.389 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.5295, allocations: 8 kB / 1.389 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.5295, allocations: 3.984 kB / 1.389 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5295, allocations: 0 / 1.389 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.53, allocations: 282.7 kB / 1.389 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.5301, allocations: 100.9 kB / 1.389 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.5301, allocations: 15.98 kB / 1.389 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.5302, allocations: 8 kB / 1.389 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.5303, allocations: 7.984 kB / 1.389 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.5303, allocations: 15.98 kB / 1.389 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001814/0.5305, allocations: 180.2 kB / 1.39 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5305, allocations: 4 kB / 1.39 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002927/0.5308, allocations: 59.92 kB / 1.39 GB, free: 0.6406 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.001816/0.5326, allocations: 1.175 MB / 1.391 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.5329, allocations: 155.8 kB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.533, allocations: 0 / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5331, allocations: 93.58 kB / 1.391 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.5334, allocations: 35.81 kB / 1.391 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.5353, allocations: 1.284 MB / 1.392 GB, free: 14 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5356, allocations: 0.7406 MB / 1.393 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.5358, allocations: 49.5 kB / 1.393 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.5359, allocations: 67.41 kB / 1.393 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/0.5359, allocations: 0 / 1.393 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5566, allocations: 4.973 MB / 1.398 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.5569, allocations: 252.9 kB / 1.398 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.439, allocations: 0 / 1.398 GB, free: 8.008 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat does not exist to compare? outputFormat=mat