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.00156/0.00156, allocations: 116.8 kB / 17.17 MB, free: 6 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.00157/0.00157, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.969/2.969, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_12_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.001978/0.001978, allocations: 63.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9643, allocations: 176.1 MB / 1.321 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002574/0.9669, allocations: 1.617 MB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.9678, allocations: 0.608 MB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.9679, allocations: 0 / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.9679, allocations: 3.938 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.9682, allocations: 50.45 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.9684, allocations: 49.64 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.9686, allocations: 104.8 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.9687, allocations: 28.45 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.9689, allocations: 45.77 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.969, allocations: 60.22 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.969, allocations: 7.25 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.969, allocations: 21.38 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.9691, allocations: 22.47 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.9691, allocations: 48.28 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.9693, allocations: 101.3 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9693, allocations: 0 / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9693, allocations: 0 / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9693, allocations: 0 / 1.324 GB, free: 22.87 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.000688/0.97, allocations: 405.9 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.97, allocations: 18.64 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.709e-05/0.97, allocations: 4.125 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.9701, allocations: 40.64 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.9702, allocations: 13.86 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.9704, allocations: 184.5 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.9704, allocations: 3.156 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.9704, allocations: 7.25 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.9706, allocations: 92.44 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9706, allocations: 4 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.9706, allocations: 0 / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9706, allocations: 2.844 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.9707, allocations: 45.72 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.9711, allocations: 345.9 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.9714, allocations: 107.4 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.9715, allocations: 39.39 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.9715, allocations: 0 / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.9717, allocations: 93.11 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.9717, allocations: 0 / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003261/0.9721, allocations: 155.9 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.9721, allocations: 54.25 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.9722, allocations: 129.1 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.9722, allocations: 29.7 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.9722, allocations: 98.38 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.9723, allocations: 29.61 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.9723, allocations: 29.41 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.9724, allocations: 318.2 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.9724, allocations: 27.27 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.9725, allocations: 31.91 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.9726, allocations: 66.36 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9726, allocations: 0 / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001588/0.9727, allocations: 119.6 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9727, allocations: 5.375 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9727, allocations: 0 / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9728, allocations: 0 / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.9729, allocations: 21.25 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.9729, allocations: 6.594 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.973, allocations: 10.12 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.973, allocations: 5.219 kB / 1.327 GB, free: 20.8 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 7.539e-05/0.9731, allocations: 127.2 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.9731, allocations: 12.66 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.9733, allocations: 140 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9733, allocations: 2.562 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9733, allocations: 3.938 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9733, allocations: 0 / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.9735, allocations: 215.6 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9735, allocations: 2.906 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.9736, allocations: 22.03 kB / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9736, allocations: 0 / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.9736, allocations: 10.09 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9736, allocations: 0 / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9736, allocations: 3.938 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.9738, allocations: 162.7 kB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.9738, allocations: 83.75 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.9738, allocations: 2.375 kB / 1.327 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.9739, allocations: 14.48 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.974, allocations: 16.2 kB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.974, allocations: 9.344 kB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.974, allocations: 101.2 kB / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.974, allocations: 0 / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002026/0.9742, allocations: 23.72 kB / 1.328 GB, free: 20.05 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.0003759/0.9746, allocations: 0.7078 MB / 1.328 GB, free: 19.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.9748, allocations: 80.8 kB / 1.328 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9748, allocations: 4.719 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.9749, allocations: 46.23 kB / 1.328 GB, free: 19.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.9751, allocations: 10.53 kB / 1.328 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.9764, allocations: 1.466 MB / 1.33 GB, free: 18.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.9765, allocations: 0.7047 MB / 1.33 GB, free: 17.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.152e-05/0.9766, allocations: 9.891 kB / 1.33 GB, free: 17.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.9767, allocations: 32.89 kB / 1.331 GB, free: 17.38 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9767, allocations: 0.5938 kB / 1.331 GB, free: 17.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.9953, allocations: 2.361 MB / 1.333 GB, free: 16.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/9.252, allocations: 11.3 kB / 1.333 GB, free: 16.94 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.830486046965234]