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.001787/0.001787, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001975/0.001975, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.801 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.8/2.8, allocations: 476 MB / 0.7699 GB, free: 4.746 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.002122/0.002122, allocations: 66.5 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00361/0.3279, allocations: 1.885 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006095/0.334, allocations: 3.312 MB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.3342, allocations: 4 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.3346, allocations: 53.31 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008042/0.3354, allocations: 135.2 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.3356, allocations: 51.94 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.3361, allocations: 183.2 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.3363, allocations: 17.8 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.3367, allocations: 99.56 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.3369, allocations: 83.59 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.337, allocations: 8 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3371, allocations: 31.94 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3373, allocations: 35.84 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3374, allocations: 71.59 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.3378, allocations: 187 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3378, allocations: 0 / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.807e-06/0.3378, allocations: 0 / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.3379, allocations: 0 / 1.289 GB, free: 6.301 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.001344/0.3392, allocations: 453 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/0.3393, allocations: 8.031 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.719e-05/0.3394, allocations: 46.73 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005025/0.3399, allocations: 52.77 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/0.3405, allocations: 209 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3406, allocations: 4.359 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3406, allocations: 8.375 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.341, allocations: 149.5 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.341, allocations: 0 / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3411, allocations: 0 / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.3411, allocations: 11.98 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.3416, allocations: 143.9 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/0.3425, allocations: 407.6 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.3429, allocations: 162.4 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.3432, allocations: 100.8 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3432, allocations: 4 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.3433, allocations: 34.56 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.3433, allocations: 0 / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0009465/0.3442, allocations: 297.5 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.3443, allocations: 55.41 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.3446, allocations: 225.1 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3446, allocations: 25.7 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3447, allocations: 124.1 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.3448, allocations: 39.64 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3449, allocations: 33.7 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.3451, allocations: 334.8 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.3454, allocations: 71.94 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.3456, allocations: 75.94 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.3461, allocations: 171.5 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3461, allocations: 0 / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005731/0.3467, allocations: 221.4 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3467, allocations: 4 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3467, allocations: 4 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3467, allocations: 3.938 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.347, allocations: 35.95 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.347, allocations: 4 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3472, allocations: 19.88 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.3472, allocations: 19.92 kB / 1.292 GB, free: 2.621 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.0001553/0.3473, allocations: 131.5 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.3474, allocations: 15.91 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.3475, allocations: 29.77 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3475, allocations: 0 / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3475, allocations: 0 / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3475, allocations: 0 / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.3478, allocations: 228.6 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3478, allocations: 0 / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3481, allocations: 35.95 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3481, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3481, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3481, allocations: 4 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3481, allocations: 3.938 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.3488, allocations: 323.2 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3489, allocations: 35.78 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3489, allocations: 4 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.3491, allocations: 15.97 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.3492, allocations: 15.92 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3492, allocations: 4 kB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001879/0.3494, allocations: 168.4 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3494, allocations: 4 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003068/0.3497, allocations: 36 kB / 1.293 GB, free: 1.52 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.001043/0.3507, allocations: 0.854 MB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.3513, allocations: 175 kB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3513, allocations: 4 kB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3515, allocations: 87.92 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3519, allocations: 30.45 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.3555, allocations: 2.358 MB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3556, allocations: 124 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.3558, allocations: 49.03 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3559, allocations: 55.41 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.3559, allocations: 0 / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04381/0.3997, allocations: 4.661 MB / 1.301 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.81, allocations: 6.406 kB / 1.301 GB, free: 9.18 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: 18.61063467198983]