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.446/2.446, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001065/0.001065, allocations: 173 kB / 492.3 MB, free: 0.6289 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.393/1.393, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009518/0.0009517, allocations: 94.55 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.301e-05/4.315e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8/1.052, allocations: 153 MB / 1.362 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/1.053, allocations: 87.92 kB / 1.362 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01285/1.066, allocations: 5.395 MB / 1.367 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.084e-06/1.066, allocations: 0 / 1.367 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.066, allocations: 3.969 kB / 1.367 GB, free: 34.55 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.0003962/1.066, allocations: 434.3 kB / 1.368 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.066, allocations: 11.59 kB / 1.368 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/1.066, allocations: 36.7 kB / 1.368 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/1.066, allocations: 19.45 kB / 1.368 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/1.066, allocations: 252.9 kB / 1.368 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/1.066, allocations: 11.81 kB / 1.368 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/1.067, allocations: 10.16 kB / 1.368 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/1.067, allocations: 122.2 kB / 1.368 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.067, allocations: 0 / 1.368 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/1.067, allocations: 9.891 kB / 1.368 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/1.067, allocations: 0 / 1.368 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/1.067, allocations: 184.7 kB / 1.368 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/1.067, allocations: 256.4 kB / 1.369 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/1.068, allocations: 210.7 kB / 1.369 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.019e-05/1.068, allocations: 61.19 kB / 1.369 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/1.068, allocations: 7.812 kB / 1.369 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/1.068, allocations: 121 kB / 1.369 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/1.068, allocations: 0 / 1.369 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003108/1.068, allocations: 194.4 kB / 1.369 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.068, allocations: 79.83 kB / 1.369 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/1.068, allocations: 217.1 kB / 1.369 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/1.068, allocations: 33.52 kB / 1.369 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/1.069, allocations: 110.8 kB / 1.369 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/1.069, allocations: 47.67 kB / 1.37 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/1.069, allocations: 3.562 kB / 1.37 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/1.069, allocations: 335.1 kB / 1.37 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/1.069, allocations: 63.58 kB / 1.37 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/1.069, allocations: 76.53 kB / 1.37 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.598e-05/1.069, allocations: 68.72 kB / 1.37 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.069, allocations: 3.938 kB / 1.37 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002421/1.069, allocations: 209 kB / 1.37 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.069, allocations: 4.906 kB / 1.37 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.069, allocations: 0 / 1.37 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.069, allocations: 6.5 kB / 1.37 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/1.069, allocations: 26.64 kB / 1.37 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.069, allocations: 0 / 1.37 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/1.069, allocations: 7.75 kB / 1.37 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/1.069, allocations: 13.48 kB / 1.37 GB, free: 32.75 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 6.755e-05/1.07, allocations: 118 kB / 1.37 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/1.07, allocations: 15.5 kB / 1.37 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/1.07, allocations: 278.6 kB / 1.371 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.07, allocations: 3.844 kB / 1.371 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/1.07, allocations: 0 / 1.371 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.07, allocations: 0 / 1.371 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/1.07, allocations: 279.1 kB / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.07, allocations: 0 / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/1.07, allocations: 33.44 kB / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.07, allocations: 0 / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/1.07, allocations: 10.2 kB / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.07, allocations: 0 / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.07, allocations: 3.875 kB / 1.371 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/1.071, allocations: 266.4 kB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/1.071, allocations: 109.2 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/1.071, allocations: 7.812 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/1.071, allocations: 15.22 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/1.071, allocations: 17.81 kB / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/1.071, allocations: 7.219 kB / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001412/1.071, allocations: 190.6 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.071, allocations: 0 / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002516/1.071, allocations: 60.36 kB / 1.372 GB, free: 32.07 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.00126/1.073, allocations: 1.114 MB / 1.373 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002239/1.073, allocations: 159.3 kB / 1.373 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.073, allocations: 0 / 1.373 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/1.073, allocations: 89.8 kB / 1.373 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/1.073, allocations: 36.16 kB / 1.373 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/1.074, allocations: 333.6 kB / 1.373 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/1.074, allocations: 0.7326 MB / 1.374 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001089/1.074, allocations: 54.94 kB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.074, allocations: 70.44 kB / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.074, allocations: 0 / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/1.09, allocations: 4.99 MB / 1.379 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.091, allocations: 210.5 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.732, allocations: 0 / 1.379 GB, free: 29.79 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