Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001347/0.001347, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001581/0.001581, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.785 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 2.975/2.975, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.00194/0.00194, allocations: 64.25 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2978, allocations: 176.1 MB / 1.325 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003469/0.3012, allocations: 1.992 MB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.3068, allocations: 3.915 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.3069, allocations: 8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.308, allocations: 175.1 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.3081, allocations: 67.42 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.3089, allocations: 310.6 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.3096, allocations: 394.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3097, allocations: 32.56 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.3099, allocations: 123.5 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3101, allocations: 115.5 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3102, allocations: 16 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.3107, allocations: 315.5 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3109, allocations: 107.6 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.311, allocations: 119.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.3117, allocations: 0.5292 MB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.3118, allocations: 3.984 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3118, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3118, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001393/0.3132, allocations: 0.6963 MB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3132, allocations: 12.03 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.3133, allocations: 34.75 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.3137, allocations: 84.59 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.3143, allocations: 304.6 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3144, allocations: 8.375 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3144, allocations: 8.375 kB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.3149, allocations: 199.9 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3149, allocations: 0 / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3149, allocations: 4 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3149, allocations: 0 / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.3156, allocations: 247.8 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3167, allocations: 0.5268 MB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.3171, allocations: 174.5 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.3175, allocations: 124.8 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-05/0.3175, allocations: 15.98 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3175, allocations: 38.66 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3175, allocations: 0 / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001268/0.3188, allocations: 453.2 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3189, allocations: 55.34 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.3193, allocations: 421.9 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3193, allocations: 25.7 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3195, allocations: 183.9 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3196, allocations: 35.7 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.3196, allocations: 41.69 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3198, allocations: 350.8 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.3203, allocations: 213.6 kB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.3207, allocations: 211 kB / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.3215, allocations: 368 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3215, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001029/0.3225, allocations: 0.5122 MB / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.3226, allocations: 43.25 kB / 1.338 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3226, allocations: 0 / 1.338 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3226, allocations: 4 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.3229, allocations: 43.94 kB / 1.338 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3229, allocations: 7.938 kB / 1.338 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.3232, allocations: 43.81 kB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3232, allocations: 7.938 kB / 1.338 GB, free: 4.547 MB / 1.029 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001677/0.3234, allocations: 158.3 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.3234, allocations: 31.77 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009122/0.3243, allocations: 349.3 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3243, allocations: 0 / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3244, allocations: 7.922 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3244, allocations: 0 / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.3247, allocations: 292.6 kB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3247, allocations: 4 kB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.325, allocations: 43.89 kB / 1.339 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.325, allocations: 4 kB / 1.339 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.325, allocations: 7.984 kB / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.325, allocations: 0 / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.325, allocations: 3.938 kB / 1.339 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.3259, allocations: 427.1 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.326, allocations: 55.62 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.3261, allocations: 4 kB / 1.34 GB, free: 3.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3263, allocations: 27.97 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.3264, allocations: 19.91 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3264, allocations: 11.92 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000311/0.3267, allocations: 295.1 kB / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3267, allocations: 3.938 kB / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004313/0.3271, allocations: 115.8 kB / 1.34 GB, free: 2.652 MB / 1.029 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 (11): * Single equations (assignments): 11 * 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.001415/0.3286, allocations: 1.02 MB / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009798/0.3295, allocations: 464.8 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3295, allocations: 0 / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.3299, allocations: 135.8 kB / 1.342 GB, free: 1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3304, allocations: 65.23 kB / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006291/0.3367, allocations: 4.408 MB / 1.346 GB, free: 12.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3369, allocations: 179.2 kB / 1.346 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000201/0.3371, allocations: 57.89 kB / 1.346 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3372, allocations: 107.4 kB / 1.346 GB, free: 12.05 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/0.3372, allocations: 3.938 kB / 1.346 GB, free: 12.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.3793, allocations: 9.354 MB / 1.356 GB, free: 2.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.35, allocations: 9.703 kB / 1.356 GB, free: 2.918 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable solGai.TFlu[1] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[1] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[2] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[2] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[3] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[3] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[2] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[2] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[3] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[3] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.60572733404115]