Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001728/0.001728, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002248/0.002248, allocations: 213.5 kB / 22.25 MB, free: 5.262 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.437/1.437, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.15/3.15, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_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.002142/0.002142, allocations: 72.47 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002844/0.3495, allocations: 1.607 MB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3506, allocations: 0.5659 MB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.3507, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.3507, allocations: 7.875 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.351, allocations: 43.75 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3511, allocations: 39.89 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3513, allocations: 115.6 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3514, allocations: 19.94 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3515, allocations: 55.77 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3517, allocations: 47.83 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3517, allocations: 8 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.157e-05/0.3517, allocations: 16 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.3518, allocations: 27.89 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.3518, allocations: 31.86 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.352, allocations: 99.61 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.352, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.352, allocations: 3.938 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.352, allocations: 4 kB / 1.366 GB, free: 11.41 MB / 1.061 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.0007636/0.3528, allocations: 326 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3529, allocations: 12.03 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.3529, allocations: 34.75 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.3531, allocations: 20.81 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3533, allocations: 130.4 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3533, allocations: 4.375 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3533, allocations: 12.38 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3535, allocations: 89.7 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3535, allocations: 0 / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3535, allocations: 4 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3535, allocations: 0 / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3537, allocations: 47.97 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.3542, allocations: 291.8 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.3546, allocations: 106.6 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.3546, allocations: 36.84 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3547, allocations: 8 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.3549, allocations: 99.19 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.3549, allocations: 3.938 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003666/0.3553, allocations: 153.5 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3553, allocations: 51.41 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3555, allocations: 133.8 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3555, allocations: 25.7 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.3556, allocations: 92.36 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.3556, allocations: 39.83 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.3557, allocations: 25.7 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3558, allocations: 318.8 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.3559, allocations: 31.98 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.3559, allocations: 31.92 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3561, allocations: 66.97 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3561, allocations: 4 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001993/0.3563, allocations: 109.6 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3563, allocations: 4 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3563, allocations: 0 / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3563, allocations: 7.938 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3564, allocations: 19.92 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3564, allocations: 0 / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3565, allocations: 23.86 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3566, allocations: 4 kB / 1.368 GB, free: 8.887 MB / 1.061 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.0001052/0.3567, allocations: 117.8 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.3567, allocations: 3.953 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.357, allocations: 161.1 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.357, allocations: 0 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.357, allocations: 0 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.357, allocations: 3.938 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3572, allocations: 176.7 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3572, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.3573, allocations: 16 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3573, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3573, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3573, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3573, allocations: 7.984 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3576, allocations: 164.9 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.3576, allocations: 11.89 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3576, allocations: 0 / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.3577, allocations: 11.98 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.3578, allocations: 19.92 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3578, allocations: 11.98 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.3579, allocations: 91.27 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3579, allocations: 4 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000204/0.3581, allocations: 23.94 kB / 1.369 GB, free: 8 MB / 1.061 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.0006325/0.3587, allocations: 0.6944 MB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3589, allocations: 83.09 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3589, allocations: 0 / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.359, allocations: 51.91 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.3592, allocations: 15.94 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.361, allocations: 1.459 MB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.625e-05/0.361, allocations: 87.12 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.3611, allocations: 12.48 kB / 1.371 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.3612, allocations: 35.36 kB / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3612, allocations: 0 / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.3893, allocations: 2.836 MB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.65, allocations: 4.781 kB / 1.374 GB, free: 2.75 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.335920638870448]