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.001825/0.001825, allocations: 110.4 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.001709/0.001709, allocations: 218.7 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.984 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.789/2.789, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.002038/0.002038, allocations: 66.78 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2921, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003823/0.2959, allocations: 1.967 MB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004846/0.3008, allocations: 3.611 MB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3009, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.3012, allocations: 51.62 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.3017, allocations: 143.1 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.3018, allocations: 59.91 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.3021, allocations: 183.2 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3022, allocations: 21.78 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.3025, allocations: 91.58 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.3026, allocations: 83.61 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3027, allocations: 12 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3028, allocations: 35.92 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.3028, allocations: 39.81 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.3029, allocations: 79.48 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.3032, allocations: 191 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3032, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3032, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3032, allocations: 0 / 1.29 GB, free: 5.191 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.0009141/0.3041, allocations: 463 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3042, allocations: 8.031 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.3042, allocations: 46.73 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.3046, allocations: 52.75 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.3051, allocations: 201.1 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3051, allocations: 4.375 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3051, allocations: 4.375 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.3055, allocations: 145.5 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3055, allocations: 0 / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.3055, allocations: 7.984 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.3055, allocations: 15.98 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.306, allocations: 147.8 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.3068, allocations: 423.6 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.3072, allocations: 164 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.3075, allocations: 96.78 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3075, allocations: 7.984 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3075, allocations: 38.5 kB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3075, allocations: 0 / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008834/0.3084, allocations: 297.6 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3084, allocations: 51.41 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3087, allocations: 221.1 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3087, allocations: 29.7 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.3088, allocations: 124.1 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.3088, allocations: 47.64 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.3089, allocations: 29.7 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.309, allocations: 330.8 kB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.3093, allocations: 75.92 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3095, allocations: 80.69 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.31, allocations: 165.9 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.31, allocations: 0 / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005546/0.3106, allocations: 222.5 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3106, allocations: 8 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3106, allocations: 0 / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3106, allocations: 0 / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3109, allocations: 35.91 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3109, allocations: 0 / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.311, allocations: 23.88 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.3111, allocations: 15.86 kB / 1.293 GB, free: 1.492 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.0001187/0.3112, allocations: 125.8 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.3112, allocations: 23.86 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.3113, allocations: 29.75 kB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3113, allocations: 0 / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3113, allocations: 0 / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3113, allocations: 8 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3116, allocations: 240.5 kB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3116, allocations: 0 / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.3118, allocations: 35.91 kB / 1.294 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3118, allocations: 0 / 1.294 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3119, allocations: 11.92 kB / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3119, allocations: 0 / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3119, allocations: 0 / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.3125, allocations: 320.2 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.3125, allocations: 39.77 kB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3126, allocations: 8 kB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3128, allocations: 11.98 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.3128, allocations: 15.98 kB / 1.294 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3129, allocations: 7.984 kB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001629/0.313, allocations: 168.4 kB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003114/0.3133, allocations: 36 kB / 1.294 GB, free: 372 kB / 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.000999/0.3143, allocations: 0.8598 MB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.3149, allocations: 175.8 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3149, allocations: 0 / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.3151, allocations: 91.88 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3155, allocations: 22.61 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.3192, allocations: 2.352 MB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.3196, allocations: 0.7318 MB / 1.298 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.3198, allocations: 57.02 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3199, allocations: 59.36 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3199, allocations: 0 / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.352, allocations: 4.193 MB / 1.303 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.7, allocations: 2.375 kB / 1.303 GB, free: 7.859 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 & /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.31457547703758]