Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001215/0.001215, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001353/0.001353, allocations: 220 kB / 22.25 MB, free: 5.258 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.027/3.027, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_12_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.001961/0.001961, allocations: 62.2 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001689/0.3191, allocations: 0.5317 MB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.3193, allocations: 44.22 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.3193, allocations: 0 / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.3193, allocations: 3.938 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3195, allocations: 4 kB / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.02e-05/0.3195, allocations: 7.938 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.3196, allocations: 15.97 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.3196, allocations: 7.938 kB / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.3197, allocations: 0 / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.3197, allocations: 19.92 kB / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3197, allocations: 0 / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.3198, allocations: 0 / 1.326 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.3198, allocations: 4 kB / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.3198, allocations: 11.92 kB / 1.326 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.303e-05/0.3199, allocations: 12.2 kB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3199, allocations: 0 / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3199, allocations: 0 / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3199, allocations: 0 / 1.326 GB, free: 0.8906 MB / 1.014 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.0004066/0.3203, allocations: 254.3 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3204, allocations: 16.03 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.3204, allocations: 38.69 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.3204, allocations: 4.938 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3206, allocations: 118.5 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.3206, allocations: 384 / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3206, allocations: 4.359 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.414e-05/0.3207, allocations: 30.27 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3207, allocations: 7.875 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.3207, allocations: 0 / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3207, allocations: 0 / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.3207, allocations: 15.97 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.3209, allocations: 120.8 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.3209, allocations: 30.5 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.3209, allocations: 4.859 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.321, allocations: 4.062 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.321, allocations: 30.56 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.321, allocations: 0 / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.3211, allocations: 45.62 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3212, allocations: 55.34 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.3213, allocations: 109.8 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3213, allocations: 33.83 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.3213, allocations: 84.12 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3214, allocations: 3.953 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3214, allocations: 17.72 kB / 1.327 GB, free: 15.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3215, allocations: 310.8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.3215, allocations: 7.984 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.3216, allocations: 13.72 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.3216, allocations: 25.7 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3216, allocations: 64 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.996e-05/0.3217, allocations: 49.62 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3217, allocations: 11.88 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3217, allocations: 4 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3217, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.3218, allocations: 4 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3218, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.3218, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3218, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 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.375e-05/0.3219, allocations: 114.3 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.3219, allocations: 15.94 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.322, allocations: 49.16 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.322, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.322, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.322, allocations: 4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3221, allocations: 128.7 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3221, allocations: 256 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.3222, allocations: 8 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3222, allocations: 3.938 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.3222, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3222, allocations: 4.031 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3222, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.3223, allocations: 81.05 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.3223, allocations: 7.984 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3223, allocations: 3.938 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.3224, allocations: 3.984 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.3224, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3224, allocations: 8 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.3224, allocations: 83.27 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3224, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001803/0.3226, allocations: 8.094 kB / 1.328 GB, free: 14.65 MB / 1.029 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.0004054/0.323, allocations: 0.6124 MB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.315e-05/0.3231, allocations: 16 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3231, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-05/0.3231, allocations: 7.984 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.3232, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.3242, allocations: 1.163 MB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.3243, allocations: 67.28 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.639e-05/0.3243, allocations: 4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3243, allocations: 11.44 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3243, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3537, allocations: 1.736 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.54, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_12_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.747299618000397]