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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/0.6976, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001776/0.6994, allocations: 1.324 MB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.701, allocations: 1.366 MB / 0.9562 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.7011, allocations: 1.469 kB / 0.9562 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.7014, allocations: 43.39 kB / 0.9563 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.7015, allocations: 52.12 kB / 0.9563 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.7018, allocations: 89.39 kB / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.7019, allocations: 104.4 kB / 0.9565 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.702, allocations: 4.484 kB / 0.9565 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.702, allocations: 59.05 kB / 0.9566 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.7022, allocations: 47.86 kB / 0.9566 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.7022, allocations: 5.25 kB / 0.9566 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.7023, allocations: 49.08 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.7024, allocations: 43.22 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.7024, allocations: 39.77 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.7026, allocations: 147 kB / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.7026, allocations: 0 / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7026, allocations: 0 / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.7026, allocations: 1.062 kB / 0.9569 GB, free: 5.531 MB / 0.7169 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.0004675/0.7031, allocations: 437.6 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.7031, allocations: 9.656 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.7032, allocations: 44.73 kB / 0.9574 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.7032, allocations: 19.45 kB / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.7035, allocations: 249.1 kB / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7036, allocations: 15.06 kB / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.7036, allocations: 6.922 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.7038, allocations: 114.4 kB / 0.9577 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.7038, allocations: 0 / 0.9577 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.7039, allocations: 9.312 kB / 0.9578 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.7039, allocations: 1.438 kB / 0.9578 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.7041, allocations: 143.3 kB / 0.9579 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.7043, allocations: 232 kB / 0.9581 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.7046, allocations: 171.4 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.7047, allocations: 7.828 kB / 0.9583 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.7049, allocations: 107.1 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.7049, allocations: 1.469 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004275/0.7053, allocations: 231.1 kB / 0.9586 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.7053, allocations: 78.92 kB / 0.9587 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.7055, allocations: 205.2 kB / 0.9589 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.7055, allocations: 32.3 kB / 0.9589 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.7056, allocations: 109.8 kB / 0.959 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.7056, allocations: 47.69 kB / 0.9591 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.7056, allocations: 0 / 0.9591 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.7057, allocations: 332.3 kB / 0.9594 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.7058, allocations: 51.3 kB / 0.9594 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.7059, allocations: 75.36 kB / 0.9595 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.706, allocations: 57.19 kB / 0.9596 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.706, allocations: 0 / 0.9596 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002709/0.7063, allocations: 193.7 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7063, allocations: 9.438 kB / 0.9597 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.7063, allocations: 1.375 kB / 0.9597 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7063, allocations: 4.062 kB / 0.9598 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.7065, allocations: 25.98 kB / 0.9598 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7065, allocations: 1.375 kB / 0.9598 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.7065, allocations: 12.02 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.7065, allocations: 12.11 kB / 0.9598 GB, free: 3.059 MB / 0.7169 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 9.022e-05/0.7066, allocations: 137.9 kB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.7067, allocations: 18.59 kB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.7067, allocations: 27.14 kB / 0.96 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7067, allocations: 5.312 kB / 0.96 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7067, allocations: 1.312 kB / 0.96 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7068, allocations: 0 / 0.96 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.7069, allocations: 234.2 kB / 0.9602 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7069, allocations: 1.219 kB / 0.9602 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.707, allocations: 22.7 kB / 0.9602 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.707, allocations: 1.125 kB / 0.9602 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.707, allocations: 3 kB / 0.9602 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.707, allocations: 1.375 kB / 0.9602 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.707, allocations: 3.984 kB / 0.9602 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.7073, allocations: 210.6 kB / 0.9604 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.7074, allocations: 102 kB / 0.9605 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.7074, allocations: 5.875 kB / 0.9605 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.7075, allocations: 3 kB / 0.9605 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.7075, allocations: 17.67 kB / 0.9606 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.7075, allocations: 8.953 kB / 0.9606 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001149/0.7076, allocations: 155 kB / 0.9607 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7077, allocations: 4 kB / 0.9607 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002538/0.7079, allocations: 35.39 kB / 0.9608 GB, free: 2.254 MB / 0.7169 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001315/0.7092, allocations: 1.106 MB / 0.9618 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.7095, allocations: 120.2 kB / 0.9619 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7095, allocations: 0 / 0.9619 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.7096, allocations: 66.73 kB / 0.962 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.7098, allocations: 28.77 kB / 0.962 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.7112, allocations: 1.138 MB / 0.9632 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.7114, allocations: 0.7274 MB / 0.9639 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.7115, allocations: 49.34 kB / 0.9639 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.7116, allocations: 60.72 kB / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7116, allocations: 0 / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.7288, allocations: 4.149 MB / 0.968 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.729, allocations: 247.8 kB / 0.9683 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.462, allocations: 4 kB / 0.9683 GB, free: 13.51 MB / 0.7325 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