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.001708/0.001708, allocations: 110.4 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.002022/0.002022, allocations: 218.1 kB / 22.25 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.957 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.754/2.754, allocations: 476.7 MB / 0.7707 GB, free: 4.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.002118/0.002118, allocations: 65.64 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 169.9 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003724/0.3544, allocations: 1.982 MB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005136/0.3596, allocations: 3.603 MB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.3598, allocations: 7.938 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.3602, allocations: 51.62 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006724/0.3608, allocations: 147.1 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.361, allocations: 55.86 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.3613, allocations: 183.2 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3614, allocations: 17.8 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.3616, allocations: 87.69 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3618, allocations: 95.5 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3619, allocations: 8 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.362, allocations: 39.91 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.362, allocations: 39.83 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3621, allocations: 71.55 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.3624, allocations: 183.1 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3624, allocations: 3.938 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3624, allocations: 4 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3624, allocations: 0 / 1.29 GB, free: 5.109 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.00104/0.3635, allocations: 461 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3635, allocations: 8.031 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.3636, allocations: 42.73 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.364, allocations: 60.69 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.3645, allocations: 205.2 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3645, allocations: 384 / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3645, allocations: 4.375 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.3649, allocations: 149.4 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3649, allocations: 0 / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3649, allocations: 8 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.3649, allocations: 11.98 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.3653, allocations: 135.9 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.3661, allocations: 427.6 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.3665, allocations: 162.4 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3668, allocations: 104.7 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3668, allocations: 4 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3668, allocations: 34.56 kB / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3668, allocations: 0 / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008711/0.3677, allocations: 302.4 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.3678, allocations: 55.41 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.368, allocations: 217.1 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.368, allocations: 29.7 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3681, allocations: 128.1 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.3682, allocations: 39.64 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.3683, allocations: 29.7 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3684, allocations: 338.8 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.3686, allocations: 75.92 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3688, allocations: 77.44 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.3693, allocations: 165.9 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3693, allocations: 0 / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005283/0.3698, allocations: 225.4 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3698, allocations: 8 kB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3698, allocations: 0 / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3699, allocations: 0 / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3701, allocations: 31.97 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3701, allocations: 4 kB / 1.293 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.3703, allocations: 19.88 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3703, allocations: 7.922 kB / 1.293 GB, free: 1.418 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.0001344/0.3704, allocations: 134.6 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.3705, allocations: 19.86 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.3705, allocations: 25.77 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3705, allocations: 7.938 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3706, allocations: 0 / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3706, allocations: 0 / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3708, allocations: 240.5 kB / 1.294 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3708, allocations: 3.938 kB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3711, allocations: 31.97 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3711, allocations: 8 kB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3711, allocations: 7.984 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3711, allocations: 0 / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3711, allocations: 3.938 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.3716, allocations: 322.8 kB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.3717, allocations: 39.77 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.3718, allocations: 4 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.372, allocations: 11.98 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.372, allocations: 15.97 kB / 1.294 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.372, allocations: 7.984 kB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001466/0.3722, allocations: 168.4 kB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3722, allocations: 0 / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002727/0.3724, allocations: 40 kB / 1.294 GB, free: 288 kB / 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.0009362/0.3734, allocations: 0.8567 MB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.3739, allocations: 167.9 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3739, allocations: 0 / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.3741, allocations: 95.88 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3745, allocations: 28.42 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.3777, allocations: 2.355 MB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.378, allocations: 0.7357 MB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.3782, allocations: 52.97 kB / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3783, allocations: 55.41 kB / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3783, allocations: 0 / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.4086, allocations: 4.189 MB / 1.303 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.06, allocations: 15.55 kB / 1.303 GB, free: 7.77 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.872185731999707]