Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001789/0.001789, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002392/0.002392, allocations: 213.1 kB / 22.24 MB, free: 5.242 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.797 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.896/2.896, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.002081/0.002081, allocations: 64.39 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003324/0.3208, allocations: 2.069 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00524/0.326, allocations: 3.662 MB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3262, allocations: 7.938 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.3265, allocations: 51.52 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.3269, allocations: 119.1 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.3273, allocations: 203.5 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.3277, allocations: 322.8 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3279, allocations: 44.75 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3281, allocations: 139.5 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.3284, allocations: 139.4 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.3284, allocations: 20 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.3287, allocations: 119.9 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.3287, allocations: 63.73 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3289, allocations: 103.5 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.3293, allocations: 366.4 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3293, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3293, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3293, allocations: 3.938 kB / 1.29 GB, free: 5.047 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00127/0.3306, allocations: 0.5824 MB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3307, allocations: 8.031 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.638e-05/0.3307, allocations: 46.73 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.3321, allocations: 228.5 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.3329, allocations: 286.6 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.333, allocations: 16.25 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.333, allocations: 8 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.3337, allocations: 221.5 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3337, allocations: 4 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.3337, allocations: 4 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3337, allocations: 7.984 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3348, allocations: 283.6 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.3361, allocations: 0.5113 MB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.3367, allocations: 158.4 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.3372, allocations: 146.8 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006706/0.3379, allocations: 103.9 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3379, allocations: 34.56 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3379, allocations: 4 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001791/0.3397, allocations: 489.3 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3398, allocations: 55.41 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.3401, allocations: 276.5 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3401, allocations: 33.7 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3402, allocations: 156 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.3403, allocations: 39.64 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.3404, allocations: 45.69 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3405, allocations: 338.8 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.3411, allocations: 143.9 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.3417, allocations: 149.9 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3427, allocations: 284.6 kB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3427, allocations: 0 / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00121/0.3439, allocations: 383.6 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.344, allocations: 4 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.344, allocations: 0 / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.344, allocations: 4 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.3444, allocations: 63.86 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3444, allocations: 4 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.3448, allocations: 55.77 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.3448, allocations: 7.938 kB / 1.295 GB, free: 15.76 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 (17): * Single equations (assignments): 17 * 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.0001493/0.345, allocations: 137.8 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.345, allocations: 27.81 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.3463, allocations: 372.1 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3463, allocations: 4 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3463, allocations: 0 / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3463, allocations: 3.938 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.3467, allocations: 248.6 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3467, allocations: 4 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.3471, allocations: 63.86 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3471, allocations: 4 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.3471, allocations: 3.984 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3472, allocations: 4 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3472, allocations: 0 / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.3484, allocations: 448.4 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3485, allocations: 47.72 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.3485, allocations: 7.984 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3489, allocations: 35.95 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.349, allocations: 19.91 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.349, allocations: 7.984 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001955/0.3492, allocations: 195.1 kB / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3492, allocations: 3.938 kB / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003646/0.3495, allocations: 75.81 kB / 1.296 GB, free: 14 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.00197/0.3515, allocations: 1.01 MB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.3528, allocations: 315.6 kB / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3528, allocations: 0 / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.3533, allocations: 155.8 kB / 1.298 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3538, allocations: 45.89 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.3595, allocations: 2.939 MB / 1.301 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.3596, allocations: 150.3 kB / 1.301 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.3599, allocations: 49.38 kB / 1.301 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.36, allocations: 83.39 kB / 1.301 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/0.36, allocations: 0 / 1.301 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.3962, allocations: 6.769 MB / 1.308 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.63, allocations: 0 / 1.308 GB, free: 2.57 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.402061791159213]