Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001838/0.001838, 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.002093/0.002093, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.793 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.779/2.779, allocations: 476 MB / 0.7699 GB, free: 4.738 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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.002118/0.002118, allocations: 67.44 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003034/0.3396, allocations: 1.597 MB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3407, allocations: 0.5666 MB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.3408, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.3408, allocations: 3.938 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.3411, allocations: 43.69 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.3413, allocations: 43.89 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3414, allocations: 111.6 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3415, allocations: 15.88 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.3417, allocations: 55.83 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3419, allocations: 47.81 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.3419, allocations: 8 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.3419, allocations: 27.98 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.342, allocations: 19.92 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.3421, allocations: 35.8 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3423, allocations: 105.1 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3423, allocations: 0 / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3423, allocations: 0 / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3423, allocations: 0 / 1.285 GB, free: 9.742 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007875/0.3431, allocations: 333.9 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3431, allocations: 15.97 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.3431, allocations: 34.75 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.3433, allocations: 20.88 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3435, allocations: 130.4 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3435, allocations: 384 / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3435, allocations: 16.36 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3437, allocations: 92.58 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3437, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3437, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3437, allocations: 4 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3439, allocations: 47.97 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.3444, allocations: 299.7 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.3447, allocations: 102.7 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.3448, allocations: 44.78 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3448, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.3451, allocations: 95.3 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3451, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004342/0.3455, allocations: 149.5 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3456, allocations: 63.34 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3457, allocations: 130.2 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.3457, allocations: 25.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.3458, allocations: 92.33 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.3458, allocations: 35.88 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3459, allocations: 25.7 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3461, allocations: 318.8 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.3461, allocations: 27.98 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.3462, allocations: 30.23 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3463, allocations: 64.84 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3463, allocations: 4 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002068/0.3465, allocations: 113.6 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3465, allocations: 11.94 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3465, allocations: 0 / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3466, allocations: 0 / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3467, allocations: 15.98 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3467, allocations: 4 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3468, allocations: 19.81 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3468, allocations: 8 kB / 1.287 GB, free: 7.219 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * 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.0001081/0.3469, allocations: 119.7 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3469, allocations: 7.953 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.3472, allocations: 149.9 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3472, allocations: 4 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3472, allocations: 0 / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3472, allocations: 3.938 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.3474, allocations: 168.7 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3474, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.3475, allocations: 12 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3475, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3475, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3475, allocations: 7.984 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3475, allocations: 3.938 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3478, allocations: 166.5 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.3478, allocations: 11.89 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3479, allocations: 4 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.348, allocations: 15.98 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.348, allocations: 11.92 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.348, allocations: 11.98 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.49e-05/0.3481, allocations: 103.1 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3481, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002279/0.3483, allocations: 31.95 kB / 1.288 GB, free: 6.32 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006158/0.349, allocations: 0.7009 MB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3492, allocations: 79.91 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3492, allocations: 0 / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.899e-05/0.3493, allocations: 47.97 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.3494, allocations: 14.69 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3512, allocations: 1.451 MB / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.934e-05/0.3513, allocations: 87.19 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.275e-05/0.3514, allocations: 12.48 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.3515, allocations: 27.42 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3515, allocations: 0 / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.3826, allocations: 2.842 MB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.04, allocations: 16.75 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.779878658708185]