Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007432/0.0007432, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000758/0.000758, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8512/0.8512, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 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 1.704/1.704, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.112e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002213/0.002234, allocations: 1.851 MB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00299/0.005225, allocations: 3.444 MB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.005352, allocations: 3.938 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.006103, allocations: 198.9 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.006274, allocations: 75.47 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.006382, allocations: 55.92 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.006806, allocations: 282.9 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.006903, allocations: 17.8 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.007028, allocations: 103.7 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.007136, allocations: 75.78 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.007154, allocations: 11.94 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.00723, allocations: 23.98 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.00729, allocations: 59.77 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.007338, allocations: 51.86 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.007576, allocations: 207.2 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.00758, allocations: 0 / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007581, allocations: 0 / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.007586, allocations: 0 / 1.006 GB, free: 7.039 MB / 0.9636 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.0005817/0.008168, allocations: 484.8 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.008207, allocations: 8.75 kB / 1.006 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.00824, allocations: 34.75 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004424/0.008683, allocations: 116.6 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.009027, allocations: 213.8 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.00904, allocations: 8.359 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.009057, allocations: 8.359 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.009296, allocations: 150.1 kB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.009304, allocations: 4.125 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.009317, allocations: 3.938 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.009338, allocations: 15.98 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.009587, allocations: 159.8 kB / 1.007 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.01006, allocations: 415.7 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.01033, allocations: 177.2 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.01049, allocations: 116.7 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.0105, allocations: 0 / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.01052, allocations: 34.56 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.01052, allocations: 0 / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0005153/0.01104, allocations: 325.6 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.01107, allocations: 51.41 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.01123, allocations: 252.2 kB / 1.008 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01125, allocations: 29.7 kB / 1.008 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.01131, allocations: 152 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.01135, allocations: 39.64 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.0114, allocations: 33.7 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.01148, allocations: 342.7 kB / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.01161, allocations: 83.88 kB / 1.009 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.01173, allocations: 83.92 kB / 1.009 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.01199, allocations: 179.9 kB / 1.009 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01199, allocations: 0 / 1.009 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003126/0.0123, allocations: 241.4 kB / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01232, allocations: 6.031 kB / 1.01 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01233, allocations: 0 / 1.01 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01234, allocations: 4 kB / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.0125, allocations: 39.89 kB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01251, allocations: 0 / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.0126, allocations: 19.88 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01261, allocations: 11.98 kB / 1.01 GB, free: 3.09 MB / 0.9636 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 9.424e-05/0.0127, allocations: 149.7 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.01273, allocations: 19.86 kB / 1.01 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.01277, allocations: 33.8 kB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01277, allocations: 4 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01278, allocations: 0 / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01278, allocations: 0 / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.01298, allocations: 232.5 kB / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01298, allocations: 0 / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.0131, allocations: 43.89 kB / 1.01 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.0131, allocations: 8 kB / 1.01 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01311, allocations: 0 / 1.01 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01312, allocations: 0 / 1.01 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01312, allocations: 3.984 kB / 1.01 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.01348, allocations: 335.2 kB / 1.01 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.01355, allocations: 39.83 kB / 1.01 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.01357, allocations: 8 kB / 1.01 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.01367, allocations: 15.98 kB / 1.01 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.01372, allocations: 7.969 kB / 1.01 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01373, allocations: 4 kB / 1.01 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001127/0.01384, allocations: 187.1 kB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01384, allocations: 0 / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001916/0.01403, allocations: 51.83 kB / 1.011 GB, free: 1.898 MB / 0.9636 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.0006256/0.01466, allocations: 0.8717 MB / 1.012 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.01504, allocations: 187.8 kB / 1.012 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01504, allocations: 4 kB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.0152, allocations: 95.86 kB / 1.012 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.01559, allocations: 49.7 kB / 1.012 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.01837, allocations: 2.471 MB / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.078e-05/0.01846, allocations: 140 kB / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.01862, allocations: 65.44 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.01874, allocations: 64.47 kB / 1.015 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of SimCode: time 2.635e-06/0.01874, allocations: 0 / 1.015 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.0362, allocations: 5.947 MB / 1.02 GB, free: 8.094 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.36/6.396, allocations: 10.56 kB / 1.02 GB, free: 8.09 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_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_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.345049244351685]