Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001291/0.001291, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.001628/0.001628, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.721/2.721, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.00201/0.00201, allocations: 71.89 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7882, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00315/0.7914, allocations: 1.947 MB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004471/0.7958, allocations: 3.586 MB / 1.284 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.7959, allocations: 7.938 kB / 1.284 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.7962, allocations: 51.56 kB / 1.284 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.7966, allocations: 135.2 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.7968, allocations: 55.84 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.797, allocations: 183.2 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.7971, allocations: 25.66 kB / 1.284 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.7973, allocations: 95.56 kB / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.7975, allocations: 79.62 kB / 1.284 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.7975, allocations: 8 kB / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.7976, allocations: 39.91 kB / 1.284 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.7977, allocations: 47.77 kB / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.7977, allocations: 75.48 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.798, allocations: 191.1 kB / 1.285 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.798, allocations: 0 / 1.285 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.798, allocations: 0 / 1.285 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.798, allocations: 0 / 1.285 GB, free: 6.918 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009481/0.799, allocations: 0.5254 MB / 1.285 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.799, allocations: 8.031 kB / 1.285 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.799, allocations: 42.75 kB / 1.285 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.7994, allocations: 60.75 kB / 1.285 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.7999, allocations: 266.9 kB / 1.285 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.7999, allocations: 384 / 1.285 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.7999, allocations: 8.359 kB / 1.286 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.8003, allocations: 148.5 kB / 1.286 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8003, allocations: 0 / 1.286 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.8003, allocations: 3.984 kB / 1.286 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.8003, allocations: 15.98 kB / 1.286 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.8008, allocations: 139.9 kB / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.8016, allocations: 452.5 kB / 1.286 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.802, allocations: 162.5 kB / 1.286 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.8023, allocations: 100.8 kB / 1.286 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.8023, allocations: 3.984 kB / 1.286 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.8023, allocations: 34.56 kB / 1.287 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.8023, allocations: 0 / 1.287 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0009004/0.8032, allocations: 296.5 kB / 1.287 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.8033, allocations: 55.66 kB / 1.287 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.8035, allocations: 225 kB / 1.287 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.8035, allocations: 25.7 kB / 1.287 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.8036, allocations: 124.1 kB / 1.287 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.8037, allocations: 47.58 kB / 1.287 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.8037, allocations: 33.7 kB / 1.287 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8039, allocations: 338.7 kB / 1.288 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.8042, allocations: 75.94 kB / 1.288 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.8044, allocations: 75.94 kB / 1.288 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.8049, allocations: 160.7 kB / 1.288 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8049, allocations: 4 kB / 1.288 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005856/0.8055, allocations: 221.4 kB / 1.288 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.8055, allocations: 4 kB / 1.288 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.8055, allocations: 0 / 1.288 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8055, allocations: 4 kB / 1.288 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.8058, allocations: 35.97 kB / 1.288 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.8058, allocations: 7.922 kB / 1.288 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.8059, allocations: 19.94 kB / 1.288 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.806, allocations: 7.938 kB / 1.288 GB, free: 3.023 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001314/0.8061, allocations: 133.8 kB / 1.288 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.8061, allocations: 19.86 kB / 1.288 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.8062, allocations: 29.83 kB / 1.288 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8062, allocations: 0 / 1.288 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8062, allocations: 0 / 1.288 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8062, allocations: 0 / 1.288 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.8066, allocations: 273.4 kB / 1.289 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8066, allocations: 0 / 1.289 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.8068, allocations: 35.95 kB / 1.289 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8068, allocations: 4 kB / 1.289 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.8068, allocations: 4 kB / 1.289 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8068, allocations: 0 / 1.289 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8068, allocations: 0 / 1.289 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.8075, allocations: 330.9 kB / 1.289 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.8076, allocations: 109 kB / 1.289 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.8076, allocations: 4 kB / 1.289 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.8078, allocations: 15.97 kB / 1.289 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.8079, allocations: 15.98 kB / 1.289 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.8079, allocations: 4 kB / 1.289 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001597/0.808, allocations: 172.4 kB / 1.289 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.808, allocations: 0 / 1.289 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002814/0.8083, allocations: 35.94 kB / 1.289 GB, free: 1.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.001033/0.8093, allocations: 0.865 MB / 1.29 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.8099, allocations: 167.9 kB / 1.29 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8099, allocations: 0 / 1.29 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.8102, allocations: 91.86 kB / 1.29 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.8105, allocations: 27.05 kB / 1.29 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.8141, allocations: 2.348 MB / 1.293 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.8145, allocations: 0.7317 MB / 1.293 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000156/0.8146, allocations: 57.02 kB / 1.294 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.8147, allocations: 55.41 kB / 1.294 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.8147, allocations: 0 / 1.294 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.8419, allocations: 4.052 MB / 1.298 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.991, allocations: 6.359 kB / 1.298 GB, free: 9.418 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable T1.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.139241842087358]