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.001808/0.001808, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002153/0.002153, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.753/2.753, allocations: 476.8 MB / 0.7715 GB, free: 3.855 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",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.001982/0.001982, allocations: 58.67 kB / 1.118 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.32, allocations: 169.9 MB / 1.284 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003366/0.3234, allocations: 1.89 MB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004287/0.3276, allocations: 3.308 MB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.3278, allocations: 4 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.328, allocations: 43.64 kB / 1.289 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.3286, allocations: 147.1 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.3287, allocations: 47.92 kB / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.329, allocations: 187.2 kB / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3291, allocations: 17.8 kB / 1.29 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.3293, allocations: 95.56 kB / 1.29 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.3295, allocations: 83.62 kB / 1.29 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.3295, allocations: 8 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3296, allocations: 43.91 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.3297, allocations: 35.84 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.3298, allocations: 63.59 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.33, allocations: 187 kB / 1.29 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.33, allocations: 0 / 1.29 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.33, allocations: 0 / 1.29 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.33, allocations: 0 / 1.29 GB, free: 13.13 MB / 0.9981 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.0008821/0.3309, allocations: 461 kB / 1.291 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.331, allocations: 12.03 kB / 1.291 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.331, allocations: 192 / 1.291 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.331, allocations: 38.75 kB / 1.291 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.3314, allocations: 56.75 kB / 1.291 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.3318, allocations: 205 kB / 1.291 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3318, allocations: 4.375 kB / 1.291 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3318, allocations: 8.125 kB / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.3322, allocations: 149.5 kB / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3322, allocations: 0 / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3322, allocations: 4 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.3323, allocations: 11.98 kB / 1.291 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.3327, allocations: 142.1 kB / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.3334, allocations: 407.6 kB / 1.292 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.3339, allocations: 162.5 kB / 1.292 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3341, allocations: 100.8 kB / 1.292 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3342, allocations: 3.984 kB / 1.292 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3342, allocations: 34.56 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3342, allocations: 3.938 kB / 1.292 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008584/0.335, allocations: 293.6 kB / 1.292 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3351, allocations: 55.41 kB / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3353, allocations: 225.1 kB / 1.292 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3353, allocations: 25.7 kB / 1.292 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.3354, allocations: 120.1 kB / 1.292 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.3355, allocations: 47.64 kB / 1.293 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.3355, allocations: 25.7 kB / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3357, allocations: 338.8 kB / 1.293 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.3359, allocations: 75.94 kB / 1.293 GB, free: 10 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3361, allocations: 71.94 kB / 1.293 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.3366, allocations: 174.9 kB / 1.293 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3366, allocations: 0 / 1.293 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005403/0.3371, allocations: 213.4 kB / 1.293 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3372, allocations: 8 kB / 1.293 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3372, allocations: 0 / 1.293 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3372, allocations: 4 kB / 1.293 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.3374, allocations: 31.97 kB / 1.293 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3374, allocations: 0 / 1.293 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.3376, allocations: 35.73 kB / 1.293 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3376, allocations: 4 kB / 1.293 GB, free: 9.461 MB / 0.9981 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.0001132/0.3377, allocations: 121.8 kB / 1.294 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.3378, allocations: 23.89 kB / 1.294 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.3379, allocations: 25.78 kB / 1.294 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3379, allocations: 4 kB / 1.294 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3379, allocations: 11.94 kB / 1.294 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3379, allocations: 7.922 kB / 1.294 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.3382, allocations: 212.6 kB / 1.294 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3382, allocations: 0 / 1.294 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3384, allocations: 43.89 kB / 1.294 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3384, allocations: 0 / 1.294 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3384, allocations: 4 kB / 1.294 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3384, allocations: 3.938 kB / 1.294 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3384, allocations: 4 kB / 1.294 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.339, allocations: 311.2 kB / 1.294 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.3391, allocations: 47.77 kB / 1.294 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.3391, allocations: 0 / 1.294 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3393, allocations: 15.98 kB / 1.294 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.3394, allocations: 15.97 kB / 1.294 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3394, allocations: 7.938 kB / 1.294 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001558/0.3396, allocations: 164.5 kB / 1.294 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 0 / 1.294 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002792/0.3398, allocations: 36 kB / 1.294 GB, free: 8.348 MB / 0.9981 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.000949/0.3408, allocations: 0.8607 MB / 1.295 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.3413, allocations: 177.2 kB / 1.296 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3413, allocations: 0 / 1.296 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.3416, allocations: 87.92 kB / 1.296 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3419, allocations: 35.48 kB / 1.296 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.3455, allocations: 2.355 MB / 1.298 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3456, allocations: 116 kB / 1.298 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.3457, allocations: 57 kB / 1.298 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3459, allocations: 55.41 kB / 1.298 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3459, allocations: 0 / 1.298 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.3707, allocations: 4.32 MB / 1.302 GB, free: 380 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.7, allocations: 16.89 kB / 1.302 GB, free: 368 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.31272466306109]