Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.944/2.944, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 68.45 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3201, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001563/0.3217, allocations: 0.5505 MB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.3219, allocations: 40.27 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3219, allocations: 0 / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.3219, allocations: 3.938 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.3221, allocations: 4 kB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.915e-05/0.3221, allocations: 7.984 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.3222, allocations: 11.94 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.3222, allocations: 0 / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.3223, allocations: 7.984 kB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.3223, allocations: 11.94 kB / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3224, allocations: 4 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.3224, allocations: 0 / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.3224, allocations: 11.97 kB / 1.353 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.3224, allocations: 3.938 kB / 1.353 GB, free: 7.812 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.125e-05/0.3225, allocations: 16.09 kB / 1.353 GB, free: 7.797 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3225, allocations: 3.984 kB / 1.354 GB, free: 7.793 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3225, allocations: 0 / 1.354 GB, free: 7.793 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3225, allocations: 4 kB / 1.354 GB, free: 7.789 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003963/0.3229, allocations: 250.4 kB / 1.354 GB, free: 7.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3229, allocations: 16.03 kB / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.323, allocations: 30.75 kB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.323, allocations: 4.891 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3232, allocations: 126.5 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.3232, allocations: 384 / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3232, allocations: 384 / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.3233, allocations: 30.27 kB / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3233, allocations: 7.922 kB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.3233, allocations: 0 / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3233, allocations: 0 / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.3233, allocations: 8 kB / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.3235, allocations: 124.8 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.231e-05/0.3235, allocations: 22.52 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.3235, allocations: 4.859 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3235, allocations: 8.047 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3236, allocations: 34.56 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3236, allocations: 4 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001299/0.3237, allocations: 45.58 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3237, allocations: 51.41 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.3238, allocations: 117.8 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3238, allocations: 25.7 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.3239, allocations: 88.14 kB / 1.354 GB, free: 6.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3239, allocations: 3.984 kB / 1.354 GB, free: 6.633 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.3239, allocations: 9.719 kB / 1.354 GB, free: 6.617 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3241, allocations: 327 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.3241, allocations: 0 / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.3241, allocations: 13.72 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.907e-05/0.3241, allocations: 21.7 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3241, allocations: 0 / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.86e-05/0.3242, allocations: 65.56 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3242, allocations: 11.94 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3242, allocations: 0 / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3242, allocations: 0 / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.3243, allocations: 4 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3243, allocations: 3.984 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.3243, allocations: 0 / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3243, allocations: 4 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.029e-05/0.3244, allocations: 113.7 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.3244, allocations: 12 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.3245, allocations: 49.09 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3245, allocations: 3.984 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3245, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3245, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.967e-05/0.3246, allocations: 124.8 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3246, allocations: 0 / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.3247, allocations: 4 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3247, allocations: 3.938 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.3247, allocations: 0 / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3247, allocations: 4.031 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3247, allocations: 4 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.3248, allocations: 85 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.3248, allocations: 4.031 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.3248, allocations: 3.938 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.3248, allocations: 0 / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.3249, allocations: 3.984 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3249, allocations: 4.094 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.3249, allocations: 91.53 kB / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3249, allocations: 0 / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001678/0.3251, allocations: 4 kB / 1.355 GB, free: 5.559 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003878/0.3255, allocations: 0.6125 MB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.535e-05/0.3255, allocations: 15.98 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3255, allocations: 0 / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.3256, allocations: 4 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.3257, allocations: 11.98 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009678/0.3267, allocations: 1.151 MB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3269, allocations: 0.6768 MB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.327, allocations: 8 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.327, allocations: 7.438 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.327, allocations: 0 / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3563, allocations: 1.317 MB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.996/10.35, allocations: 5.141 kB / 1.359 GB, free: 1.746 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.444058862999555]