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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7611 GB, free: 15.75 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 1.104 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9534/0.9553, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002792/0.9581, allocations: 1.61 MB / 1.27 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.959, allocations: 0.5541 MB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.9591, allocations: 0.9062 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.9591, allocations: 10.17 kB / 1.271 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.9594, allocations: 46.16 kB / 1.271 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.9595, allocations: 41.59 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.9597, allocations: 109.9 kB / 1.271 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.9598, allocations: 16.69 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.9599, allocations: 46.02 kB / 1.271 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.9601, allocations: 57.08 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.9601, allocations: 8.188 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.805e-05/0.9601, allocations: 12.78 kB / 1.271 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.9602, allocations: 19.73 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.9602, allocations: 42.2 kB / 1.271 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.9604, allocations: 96.06 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.9604, allocations: 0.875 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9604, allocations: 0 / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.9604, allocations: 1.312 kB / 1.271 GB, free: 6.012 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.0006805/0.9611, allocations: 406.7 kB / 1.272 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.9611, allocations: 10.36 kB / 1.272 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.9612, allocations: 38.22 kB / 1.272 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.9612, allocations: 9.578 kB / 1.272 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9613, allocations: 182 kB / 1.272 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.9614, allocations: 8.422 kB / 1.272 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.9614, allocations: 4.125 kB / 1.272 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.9616, allocations: 89.64 kB / 1.272 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9616, allocations: 0.6562 kB / 1.272 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.9616, allocations: 5.156 kB / 1.272 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.9616, allocations: 1.969 kB / 1.272 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.9617, allocations: 44.64 kB / 1.272 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.9622, allocations: 348.9 kB / 1.272 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.9624, allocations: 105.8 kB / 1.273 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.9625, allocations: 39.2 kB / 1.273 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.9625, allocations: 0.7812 kB / 1.273 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.9627, allocations: 103.7 kB / 1.273 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.9627, allocations: 0 / 1.273 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003233/0.9631, allocations: 146 kB / 1.273 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.9631, allocations: 56.44 kB / 1.273 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.9632, allocations: 129 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.9632, allocations: 26.48 kB / 1.273 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.9632, allocations: 90.28 kB / 1.273 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.9633, allocations: 42.16 kB / 1.273 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.9633, allocations: 33.38 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.9634, allocations: 319.6 kB / 1.273 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.9635, allocations: 30.67 kB / 1.274 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.9635, allocations: 26.77 kB / 1.274 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.9636, allocations: 66.56 kB / 1.274 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9636, allocations: 4 kB / 1.274 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001766/0.9638, allocations: 114.9 kB / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9638, allocations: 6.359 kB / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9638, allocations: 0 / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.9639, allocations: 1.484 kB / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.964, allocations: 17.47 kB / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.964, allocations: 1.062 kB / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.9641, allocations: 18.97 kB / 1.274 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.9641, allocations: 7.906 kB / 1.274 GB, free: 3.941 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 6.585e-05/0.9642, allocations: 120 kB / 1.274 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.9642, allocations: 8.875 kB / 1.274 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.9645, allocations: 144 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9645, allocations: 1.781 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9645, allocations: 0.5156 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9645, allocations: 4.641 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.9646, allocations: 211.4 kB / 1.274 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9646, allocations: 5 kB / 1.274 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.9647, allocations: 20.47 kB / 1.274 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.9647, allocations: 1 kB / 1.274 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.9647, allocations: 5.016 kB / 1.274 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9647, allocations: 3.984 kB / 1.274 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9647, allocations: 0.8125 kB / 1.274 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.9649, allocations: 161.1 kB / 1.274 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.965, allocations: 97.83 kB / 1.275 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.965, allocations: 8.906 kB / 1.275 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.9651, allocations: 8.562 kB / 1.275 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.9652, allocations: 17.52 kB / 1.275 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.9652, allocations: 8.016 kB / 1.275 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.9652, allocations: 99.3 kB / 1.275 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9652, allocations: 0 / 1.275 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002079/0.9654, allocations: 25.17 kB / 1.275 GB, free: 3.184 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.0004358/0.9659, allocations: 0.6973 MB / 1.275 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.9661, allocations: 87.53 kB / 1.275 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9661, allocations: 0 / 1.275 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/0.9662, allocations: 47.84 kB / 1.275 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.9663, allocations: 11.27 kB / 1.275 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.968, allocations: 1.461 MB / 1.277 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.9684, allocations: 0.7051 MB / 1.278 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.472e-05/0.9685, allocations: 8.859 kB / 1.278 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.9686, allocations: 28.94 kB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.9686, allocations: 0 / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.9964, allocations: 2.331 MB / 1.28 GB, free: 16.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.905, allocations: 7.359 kB / 1.28 GB, free: 16.1 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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.064856842160225]