Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001393/0.001393, 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.001574/0.001574, allocations: 210.5 kB / 22.24 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.078/3.078, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_12_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.002069/0.002069, allocations: 66 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3923, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.004397/0.3967, allocations: 1.607 MB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3986, allocations: 0.5532 MB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.3986, allocations: 4 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.3987, allocations: 3.938 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.399, allocations: 43.7 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.3992, allocations: 43.89 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3994, allocations: 111.6 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3996, allocations: 20.02 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3998, allocations: 55.84 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.4, allocations: 51.66 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.4, allocations: 12 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.4001, allocations: 12 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.4002, allocations: 27.91 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.842e-05/0.4002, allocations: 35.84 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.4005, allocations: 103.6 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4005, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4005, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.4005, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 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.000993/0.4015, allocations: 335.8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.4016, allocations: 12.03 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.4016, allocations: 34.75 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.4019, allocations: 20.88 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4021, allocations: 130.4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4021, allocations: 4.312 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.4022, allocations: 12.38 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.4024, allocations: 85.77 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4025, allocations: 3.984 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4025, allocations: 4 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.4025, allocations: 0 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.4027, allocations: 47.97 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.4034, allocations: 299.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.4039, allocations: 102.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.404, allocations: 44.83 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.404, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.4044, allocations: 91.36 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.4044, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005083/0.4049, allocations: 161.4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.4049, allocations: 51.41 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4051, allocations: 129.8 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.4051, allocations: 29.7 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.4052, allocations: 92.33 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.4053, allocations: 31.88 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.4053, allocations: 29.7 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.4055, allocations: 318.8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4057, allocations: 23.98 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4058, allocations: 34.73 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.406, allocations: 72.78 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.406, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000326/0.4063, allocations: 117.6 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4063, allocations: 5.25 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4063, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4064, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4065, allocations: 15.98 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.4065, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.4067, allocations: 19.81 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.4067, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 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.000161/0.4069, allocations: 129.8 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.4069, allocations: 7.953 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.4075, allocations: 149.9 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4075, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4075, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4075, allocations: 7.875 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.4078, allocations: 168.7 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4078, allocations: 3.984 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4079, allocations: 15.94 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4079, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4079, allocations: 8 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4079, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4079, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.4083, allocations: 168.9 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.4084, allocations: 11.89 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.4084, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.4086, allocations: 11.98 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.4086, allocations: 11.92 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.4087, allocations: 7.984 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001147/0.4088, allocations: 99.27 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4088, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003838/0.4092, allocations: 24 kB / 1.331 GB, free: 12.29 MB / 1.029 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.0009641/0.4101, allocations: 0.6983 MB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.4104, allocations: 83.84 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4104, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4106, allocations: 51.91 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4109, allocations: 11.94 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.4133, allocations: 1.446 MB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.4134, allocations: 91.12 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.338e-05/0.4135, allocations: 16.47 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.4136, allocations: 31.42 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.4136, allocations: 4 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.4509, allocations: 2.832 MB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.65, allocations: 15.2 kB / 1.336 GB, free: 7.027 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.248275401070714]