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.001638/0.001638, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.002071/0.002071, allocations: 215 kB / 20.13 MB, free: 2.949 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.894/2.894, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 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.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.002174/0.002174, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9243/0.9265, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003046/0.9296, allocations: 1.621 MB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.9308, allocations: 0.6117 MB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.9309, allocations: 4.938 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.9309, allocations: 6.188 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.9312, allocations: 42.11 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.9314, allocations: 48.12 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.9316, allocations: 110.7 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.9317, allocations: 24.16 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.9319, allocations: 54.03 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.932, allocations: 53.14 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.9321, allocations: 8.906 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.9321, allocations: 16.7 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.9322, allocations: 20.52 kB / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.9323, allocations: 50.14 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.9325, allocations: 97.11 kB / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9325, allocations: 0.5312 kB / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9325, allocations: 0 / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.9325, allocations: 5.344 kB / 1.282 GB, free: 9.926 MB / 0.9981 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.0008738/0.9334, allocations: 411.6 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.9334, allocations: 10.22 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.9334, allocations: 2.359 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.9335, allocations: 38.95 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.9337, allocations: 20.09 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.9339, allocations: 182.7 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.9339, allocations: 7.062 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.9339, allocations: 9.5 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.9341, allocations: 84.83 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.9342, allocations: 0 / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.9342, allocations: 1.656 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.9342, allocations: 1.5 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.9343, allocations: 49.23 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.9349, allocations: 352.7 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.9352, allocations: 99.11 kB / 1.283 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.9353, allocations: 37.64 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.9354, allocations: 6.109 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.9356, allocations: 98.77 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.9356, allocations: 1.406 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003888/0.936, allocations: 148.4 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.936, allocations: 57.22 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.9362, allocations: 128.6 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.9362, allocations: 31.89 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.9363, allocations: 92.92 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.9364, allocations: 34.59 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.9365, allocations: 29.31 kB / 1.283 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.9367, allocations: 319.4 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.9368, allocations: 25.8 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.9369, allocations: 36.08 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.937, allocations: 60.52 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.937, allocations: 0 / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002639/0.9373, allocations: 115.2 kB / 1.284 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.9373, allocations: 6.125 kB / 1.284 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9373, allocations: 4 kB / 1.284 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.9374, allocations: 2.047 kB / 1.284 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.9375, allocations: 20.89 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.9375, allocations: 5.344 kB / 1.284 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.9376, allocations: 11.38 kB / 1.284 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.9377, allocations: 3.938 kB / 1.284 GB, free: 7.855 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: 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.000184/0.9379, allocations: 120.8 kB / 1.284 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.9379, allocations: 7.234 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.9382, allocations: 151.7 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9382, allocations: 2.625 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.9382, allocations: 3.938 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.9383, allocations: 0.75 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.9385, allocations: 213.8 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9385, allocations: 0.75 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.9386, allocations: 14.36 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9386, allocations: 1.312 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.9387, allocations: 6.781 kB / 1.285 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.9387, allocations: 5.406 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9387, allocations: 7.875 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.939, allocations: 160.8 kB / 1.285 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.939, allocations: 85.31 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.9391, allocations: 2.094 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.9392, allocations: 14.58 kB / 1.285 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.9393, allocations: 18.12 kB / 1.285 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.9393, allocations: 9.234 kB / 1.285 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001003/0.9394, allocations: 98.08 kB / 1.285 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9394, allocations: 0 / 1.285 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002566/0.9397, allocations: 32.08 kB / 1.285 GB, free: 7.098 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: 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.0007467/0.9404, allocations: 0.6988 MB / 1.286 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.9407, allocations: 90.56 kB / 1.286 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9407, allocations: 0 / 1.286 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.9408, allocations: 46.89 kB / 1.286 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.941, allocations: 11.17 kB / 1.286 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.943, allocations: 1.458 MB / 1.287 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.9433, allocations: 0.7003 MB / 1.288 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.612e-05/0.9434, allocations: 16.61 kB / 1.288 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.9435, allocations: 34.02 kB / 1.288 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.9435, allocations: 0 / 1.288 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.9632, allocations: 2.362 MB / 1.29 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/9.454, allocations: 8.531 kB / 1.29 GB, free: 4 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.974658738996368]