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.001807/0.001807, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002339/0.002339, allocations: 223 kB / 23.03 MB, free: 4.945 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.819/2.819, allocations: 476.8 MB / 0.7715 GB, free: 3.863 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001993/0.001993, allocations: 61.55 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3706, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003781/0.3744, allocations: 1.601 MB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3758, allocations: 0.555 MB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3759, allocations: 0 / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.3759, allocations: 15.86 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.3763, allocations: 31.78 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.3766, allocations: 47.88 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.3768, allocations: 107.6 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.377, allocations: 27.91 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.3772, allocations: 55.78 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3773, allocations: 51.81 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.3773, allocations: 8 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.492e-05/0.3774, allocations: 16 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.3775, allocations: 19.92 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.043e-05/0.3776, allocations: 43.83 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3778, allocations: 104.7 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3778, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3778, allocations: 7.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.3778, allocations: 7.938 kB / 1.287 GB, free: 7.914 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.0008469/0.3786, allocations: 326 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.3787, allocations: 12.03 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.488e-05/0.3787, allocations: 192 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.3788, allocations: 38.75 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.379, allocations: 16.88 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3792, allocations: 134.4 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.3792, allocations: 8.375 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.3792, allocations: 4.375 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3794, allocations: 91.48 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3794, allocations: 0 / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3795, allocations: 4 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.3795, allocations: 7.984 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3796, allocations: 47.97 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.3802, allocations: 295.8 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.3805, allocations: 102.7 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3806, allocations: 36.84 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3806, allocations: 4 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.3809, allocations: 99.28 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.3809, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003942/0.3813, allocations: 153.5 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.3814, allocations: 55.41 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3815, allocations: 121.8 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.3815, allocations: 25.7 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.3816, allocations: 100.3 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.3817, allocations: 35.88 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.3817, allocations: 25.72 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3819, allocations: 322.8 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.382, allocations: 27.98 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3821, allocations: 31.92 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3822, allocations: 64.78 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3822, allocations: 0 / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002099/0.3824, allocations: 115.6 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3824, allocations: 6.344 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3825, allocations: 0 / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3825, allocations: 0 / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3826, allocations: 27.92 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3826, allocations: 3.938 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3827, allocations: 19.88 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3827, allocations: 4 kB / 1.289 GB, free: 5.398 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.0001087/0.3828, allocations: 115.2 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3829, allocations: 11.95 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.3832, allocations: 149.9 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3832, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3832, allocations: 3.938 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3832, allocations: 4 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3833, allocations: 164.7 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3833, allocations: 0 / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-05/0.3834, allocations: 15.98 kB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3834, allocations: 4 kB / 1.289 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3834, allocations: 8 kB / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3835, allocations: 0 / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3835, allocations: 3.938 kB / 1.289 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3837, allocations: 165.5 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.3837, allocations: 15.88 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.3838, allocations: 4 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3839, allocations: 8 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.3839, allocations: 19.91 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.384, allocations: 4 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.384, allocations: 100.1 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.384, allocations: 3.938 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002327/0.3843, allocations: 27.95 kB / 1.29 GB, free: 4.508 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.0005971/0.3849, allocations: 0.7035 MB / 1.29 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3851, allocations: 75.97 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3851, allocations: 4 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3852, allocations: 49.3 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.3854, allocations: 15.92 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.3871, allocations: 1.445 MB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.423e-05/0.3872, allocations: 83.19 kB / 1.292 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.65e-05/0.3873, allocations: 16.42 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.3873, allocations: 39.41 kB / 1.292 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3873, allocations: 0 / 1.292 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.4109, allocations: 2.517 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.98, allocations: 10.62 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB " [Timeout remaining time 288] (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: 19.08307432802394]