Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001441/0.001441, allocations: 109.2 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.001621/0.001621, allocations: 219.9 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.309/1.309, allocations: 230.6 MB / 256 MB, free: 7.953 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.92/2.92, allocations: 0.505 GB / 0.8101 GB, free: 22 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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001877/0.001877, allocations: 71.2 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2961, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003189/0.2992, allocations: 1.915 MB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004525/0.3038, allocations: 3.678 MB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.3039, allocations: 11.94 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.3045, allocations: 184.8 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.3047, allocations: 79.47 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.3049, allocations: 55.92 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.3053, allocations: 263.1 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.3054, allocations: 17.73 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3055, allocations: 87.69 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.3057, allocations: 83.55 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3058, allocations: 12 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.3059, allocations: 31.98 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.3059, allocations: 51.81 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.306, allocations: 91.47 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.3063, allocations: 195 kB / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3063, allocations: 0 / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3063, allocations: 0 / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3063, allocations: 0 / 1.359 GB, free: 1.688 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008433/0.3071, allocations: 480.7 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3072, allocations: 8.031 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.3072, allocations: 42.73 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.308, allocations: 116.6 kB / 1.36 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.3085, allocations: 201.5 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3085, allocations: 8.375 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3086, allocations: 8.312 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.3089, allocations: 161.4 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3089, allocations: 0 / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.309, allocations: 4 kB / 1.36 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.309, allocations: 11.98 kB / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.3094, allocations: 143.9 kB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.3101, allocations: 443.5 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.3105, allocations: 158.5 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.3108, allocations: 104.8 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3108, allocations: 11.98 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3108, allocations: 34.5 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.3109, allocations: 0 / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008208/0.3117, allocations: 316.2 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3117, allocations: 51.41 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.312, allocations: 249.9 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.312, allocations: 25.7 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.3121, allocations: 132.1 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3122, allocations: 39.64 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.3122, allocations: 33.7 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3124, allocations: 338.8 kB / 1.362 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.3126, allocations: 83.92 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.3128, allocations: 71.94 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.3133, allocations: 180.7 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3133, allocations: 0 / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005164/0.3138, allocations: 228.4 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3138, allocations: 12 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3138, allocations: 0 / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3138, allocations: 0 / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3141, allocations: 35.97 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3141, allocations: 4 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.3142, allocations: 15.92 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.3143, allocations: 7.922 kB / 1.363 GB, free: 13.81 MB / 1.061 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.0001477/0.3144, allocations: 149.7 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.3145, allocations: 23.86 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.3145, allocations: 25.77 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3145, allocations: 4 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3145, allocations: 0 / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3145, allocations: 0 / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.3149, allocations: 256.5 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3149, allocations: 0 / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3151, allocations: 31.97 kB / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3151, allocations: 4 kB / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3152, allocations: 11.92 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3152, allocations: 3.938 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3152, allocations: 4 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.3158, allocations: 335.1 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.3159, allocations: 39.77 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.3159, allocations: 8 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3161, allocations: 15.97 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3162, allocations: 11.98 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3162, allocations: 0 / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001644/0.3164, allocations: 181.1 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3164, allocations: 0 / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002553/0.3166, allocations: 44 kB / 1.364 GB, free: 12.61 MB / 1.061 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.0009035/0.3175, allocations: 0.8645 MB / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.318, allocations: 171.8 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.318, allocations: 0 / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.3183, allocations: 98.55 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.3187, allocations: 47.12 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.322, allocations: 2.413 MB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3224, allocations: 0.7473 MB / 1.368 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002123/0.3226, allocations: 61.38 kB / 1.368 GB, free: 8.086 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3227, allocations: 59.41 kB / 1.368 GB, free: 8.031 MB / 1.061 GB Notification: Performance of SimCode: time 6.72e-07/0.3227, allocations: 4 kB / 1.368 GB, free: 8.027 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.3531, allocations: 4.949 MB / 1.373 GB, free: 3.254 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.775/10.13, allocations: 6.891 kB / 1.373 GB, free: 3.254 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable T1.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.156297136999456]