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.002071/0.002071, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002027/0.002027, allocations: 221.1 kB / 23.05 MB, free: 5.074 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.146/3.146, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_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.002009/0.002009, allocations: 65.28 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002781/0.3428, allocations: 1.637 MB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3438, allocations: 0.6038 MB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.3439, allocations: 4 kB / 1.348 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.3439, allocations: 7.922 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.3441, allocations: 39.72 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.3443, allocations: 39.88 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3445, allocations: 115.6 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3446, allocations: 23.92 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.3447, allocations: 55.84 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3449, allocations: 55.75 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3449, allocations: 8 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.3449, allocations: 12 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.345, allocations: 27.91 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.345, allocations: 43.78 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.3452, allocations: 99.61 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3452, allocations: 0 / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3452, allocations: 4 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.3452, allocations: 4 kB / 1.348 GB, free: 13.66 MB / 1.045 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.0007315/0.3459, allocations: 331.1 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.346, allocations: 12.03 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.216e-05/0.346, allocations: 192 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.346, allocations: 46.73 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.3462, allocations: 16.88 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3464, allocations: 126.4 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3464, allocations: 8.359 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3464, allocations: 12.38 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3466, allocations: 85.59 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3466, allocations: 3.984 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3466, allocations: 0 / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3466, allocations: 0 / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3467, allocations: 59.91 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.3472, allocations: 303.7 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.3475, allocations: 102.7 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.3476, allocations: 36.84 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3476, allocations: 4 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.3478, allocations: 103.3 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.3478, allocations: 0 / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003423/0.3482, allocations: 153.5 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3482, allocations: 51.41 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3483, allocations: 126.2 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3483, allocations: 29.7 kB / 1.35 GB, free: 11.92 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.3484, allocations: 100.3 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.3484, allocations: 39.83 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.3485, allocations: 25.7 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3486, allocations: 318.8 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.3487, allocations: 27.98 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/0.3488, allocations: 25.23 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3489, allocations: 70.41 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3489, allocations: 3.938 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001999/0.3491, allocations: 113.6 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3491, allocations: 8 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3491, allocations: 0 / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3491, allocations: 0 / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3492, allocations: 19.98 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3492, allocations: 3.938 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3493, allocations: 15.92 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3493, allocations: 4 kB / 1.35 GB, free: 11.13 MB / 1.045 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.0001193/0.3495, allocations: 118.4 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3495, allocations: 15.95 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3498, allocations: 148.8 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3498, allocations: 4 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3498, allocations: 3.938 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3498, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.35, allocations: 184.6 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.35, allocations: 0 / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.3501, allocations: 15.94 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3501, allocations: 3.984 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3501, allocations: 4 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3501, allocations: 8 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3501, allocations: 3.938 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.3503, allocations: 157 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.3504, allocations: 11.89 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3504, allocations: 3.984 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3505, allocations: 8 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3505, allocations: 23.89 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3506, allocations: 4 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.904e-05/0.3506, allocations: 103.2 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3506, allocations: 3.938 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002061/0.3508, allocations: 24 kB / 1.351 GB, free: 10.22 MB / 1.045 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.0005687/0.3514, allocations: 0.6944 MB / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.3516, allocations: 90.16 kB / 1.352 GB, free: 9.414 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3516, allocations: 3.938 kB / 1.352 GB, free: 9.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.3517, allocations: 43.92 kB / 1.352 GB, free: 9.367 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.3519, allocations: 11.94 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3534, allocations: 1.457 MB / 1.353 GB, free: 7.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3538, allocations: 0.6963 MB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.496e-05/0.3538, allocations: 16.48 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.3539, allocations: 31.42 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3539, allocations: 0 / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3759, allocations: 2.497 MB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.27, allocations: 10.34 kB / 1.357 GB, free: 4.688 MB / 1.045 GB " [Timeout remaining time 289] (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.068725592980627]