Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_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.007471/0.007471, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00182/0.00182, allocations: 195.9 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 71.83 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.775, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002953/0.778, allocations: 1.64 MB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.7802, allocations: 1.48 MB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.7803, allocations: 11.94 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.7807, allocations: 55.73 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.7809, allocations: 51.77 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.7812, allocations: 101.9 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.7815, allocations: 171.6 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.7815, allocations: 8.219 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.7816, allocations: 67.75 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.7818, allocations: 63.75 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.7819, allocations: 12 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.782, allocations: 63.97 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.7821, allocations: 51.83 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.7822, allocations: 55.66 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.7825, allocations: 198.9 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7825, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7825, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.7825, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 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.0006731/0.7832, allocations: 478.2 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7833, allocations: 12.03 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.7833, allocations: 34.75 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.7834, allocations: 20.84 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.7838, allocations: 264 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.7838, allocations: 4.375 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.7838, allocations: 11.88 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.7841, allocations: 119.2 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7841, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.7841, allocations: 11.94 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.7841, allocations: 0 / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.7844, allocations: 139.9 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.7847, allocations: 237.5 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.7851, allocations: 174.4 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.7852, allocations: 52.84 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.7852, allocations: 11.97 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.7855, allocations: 111.4 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.7855, allocations: 0 / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005288/0.786, allocations: 225.5 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.7861, allocations: 77.11 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.7863, allocations: 204.1 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.7864, allocations: 33.7 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.7865, allocations: 108.1 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.7865, allocations: 51.64 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.7866, allocations: 33.7 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7868, allocations: 330.8 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.7869, allocations: 51.91 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.787, allocations: 73.5 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.7873, allocations: 135.5 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7873, allocations: 3.938 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003531/0.7876, allocations: 193.2 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7877, allocations: 4 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7877, allocations: 0 / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7877, allocations: 4 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.7878, allocations: 27.92 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7878, allocations: 0 / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.7879, allocations: 11.95 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.7879, allocations: 4.031 kB / 1.227 GB, free: 10.54 MB / 0.9512 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.7881, allocations: 142.3 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.7881, allocations: 19.89 kB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.7882, allocations: 21.53 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7882, allocations: 0 / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7882, allocations: 4 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.7882, allocations: 7.969 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.7884, allocations: 241.4 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7885, allocations: 7.875 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.7885, allocations: 19.98 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7885, allocations: 4 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7886, allocations: 4 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7886, allocations: 0 / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7886, allocations: 0 / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.789, allocations: 216.9 kB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.789, allocations: 93.02 kB / 1.228 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.7891, allocations: 0 / 1.228 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.7891, allocations: 19.98 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.7892, allocations: 11.92 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.7892, allocations: 4 kB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001599/0.7894, allocations: 155.2 kB / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7894, allocations: 0 / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002556/0.7896, allocations: 35.94 kB / 1.228 GB, free: 9.445 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002262/0.7919, allocations: 1.092 MB / 1.229 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.7922, allocations: 125.2 kB / 1.229 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7922, allocations: 0 / 1.229 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.7924, allocations: 63.98 kB / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.7927, allocations: 32.08 kB / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.795, allocations: 1.955 MB / 1.231 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.7954, allocations: 0.7202 MB / 1.232 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.7955, allocations: 61.62 kB / 1.232 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.7956, allocations: 55.41 kB / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.7956, allocations: 0 / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.8248, allocations: 4.69 MB / 1.237 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/9.122, allocations: 5.938 kB / 1.237 GB, free: 0.8359 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches