Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001807/0.001807, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.002165/0.002165, allocations: 162.4 kB / 23.02 MB, free: 4.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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.879/2.879, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [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.002438/0.002438, allocations: 65.78 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9755/0.9779, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005579/0.9835, allocations: 4.689 MB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2017/1.185, allocations: 132.8 MB / 1.288 GB, free: 4.73 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/1.186, allocations: 24.47 kB / 1.288 GB, free: 4.719 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006834/1.187, allocations: 208.2 kB / 1.288 GB, free: 4.578 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/1.189, allocations: 0.5858 MB / 1.289 GB, free: 4.223 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/1.191, allocations: 0.8927 MB / 1.29 GB, free: 3.734 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002096/1.193, allocations: 1.475 MB / 1.291 GB, free: 2.965 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008597/1.194, allocations: 455.2 kB / 1.292 GB, free: 2.699 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009558/1.195, allocations: 0.5527 MB / 1.292 GB, free: 2.426 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/1.196, allocations: 0.4929 MB / 1.293 GB, free: 2.191 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/1.196, allocations: 126.2 kB / 1.293 GB, free: 2.191 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/1.197, allocations: 0.5062 MB / 1.293 GB, free: 2.078 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/1.198, allocations: 331.2 kB / 1.294 GB, free: 1.863 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005445/1.198, allocations: 0.492 MB / 1.294 GB, free: 1.574 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/1.201, allocations: 1.816 MB / 1.296 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.201, allocations: 4 kB / 1.296 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.513e-06/1.201, allocations: 1.188 kB / 1.296 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.54e-05/1.201, allocations: 4 kB / 1.296 GB, free: 0.7969 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003146/1.204, allocations: 1.492 MB / 1.297 GB, free: 15.82 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.204, allocations: 9.828 kB / 1.297 GB, free: 15.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/1.206, allocations: 271.2 kB / 1.298 GB, free: 15.74 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/1.207, allocations: 0.7344 MB / 1.298 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/1.208, allocations: 72.44 kB / 1.298 GB, free: 15.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.208, allocations: 93.81 kB / 1.299 GB, free: 15.15 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/1.21, allocations: 1.27 MB / 1.3 GB, free: 14.19 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.21, allocations: 3.938 kB / 1.3 GB, free: 14.19 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.21, allocations: 41.75 kB / 1.3 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/1.21, allocations: 24.19 kB / 1.3 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/1.212, allocations: 1.13 MB / 1.301 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004181/1.216, allocations: 2.248 MB / 1.303 GB, free: 11.92 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/1.218, allocations: 0.803 MB / 1.304 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/1.218, allocations: 286.1 kB / 1.304 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/1.219, allocations: 83.69 kB / 1.304 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/1.22, allocations: 0.6006 MB / 1.305 GB, free: 10.88 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/1.22, allocations: 0 / 1.305 GB, free: 10.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003586/1.223, allocations: 1.158 MB / 1.306 GB, free: 10.3 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.224, allocations: 193.2 kB / 1.306 GB, free: 10.08 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/1.224, allocations: 0.6061 MB / 1.307 GB, free: 9.719 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/1.225, allocations: 42.3 kB / 1.307 GB, free: 9.676 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/1.225, allocations: 439.2 kB / 1.307 GB, free: 9.293 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.225, allocations: 279 kB / 1.307 GB, free: 9.051 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/1.225, allocations: 172.8 kB / 1.308 GB, free: 8.945 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.226, allocations: 380.2 kB / 1.308 GB, free: 8.582 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/1.226, allocations: 277.8 kB / 1.308 GB, free: 8.449 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007998/1.227, allocations: 0.5036 MB / 1.309 GB, free: 8.066 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.228, allocations: 0.6193 MB / 1.309 GB, free: 7.738 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.228, allocations: 0 / 1.309 GB, free: 7.738 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002426/1.231, allocations: 0.8796 MB / 1.31 GB, free: 7.285 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/1.231, allocations: 5.25 kB / 1.31 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.231, allocations: 1.125 kB / 1.31 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/1.232, allocations: 81.06 kB / 1.31 GB, free: 7.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/1.232, allocations: 172 kB / 1.31 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/1.235, allocations: 1.494 MB / 1.312 GB, free: 5.773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/1.236, allocations: 94.94 kB / 1.312 GB, free: 5.711 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.236, allocations: 43.47 kB / 1.312 GB, free: 5.691 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006916/1.237, allocations: 273.9 kB / 1.312 GB, free: 5.48 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/1.237, allocations: 89.84 kB / 1.312 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/1.24, allocations: 1.094 MB / 1.313 GB, free: 4.812 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/1.24, allocations: 17.19 kB / 1.313 GB, free: 4.805 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.24, allocations: 0 / 1.313 GB, free: 4.805 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.24, allocations: 5.141 kB / 1.313 GB, free: 4.801 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/1.244, allocations: 1.742 MB / 1.315 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.244, allocations: 0 / 1.315 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/1.245, allocations: 147.8 kB / 1.315 GB, free: 2.895 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005212/1.245, allocations: 76.78 kB / 1.315 GB, free: 2.816 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.245, allocations: 23.98 kB / 1.315 GB, free: 2.793 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/1.248, allocations: 1.52 MB / 1.317 GB, free: 1.164 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.248, allocations: 4.031 kB / 1.317 GB, free: 1.16 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/1.25, allocations: 1.026 MB / 1.318 GB, free: 116 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/1.251, allocations: 203.2 kB / 1.318 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/1.251, allocations: 19.94 kB / 1.318 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/1.252, allocations: 71.92 kB / 1.318 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/1.252, allocations: 72.86 kB / 1.318 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.8e-05/1.252, allocations: 44.03 kB / 1.318 GB, free: 15.71 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007171/1.253, allocations: 435 kB / 1.319 GB, free: 15.29 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.253, allocations: 0 / 1.319 GB, free: 15.29 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001388/1.254, allocations: 367 kB / 1.319 GB, free: 14.93 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002507/1.257, allocations: 0.6709 MB / 1.32 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.259, allocations: 0.8235 MB / 1.321 GB, free: 13.63 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.259, allocations: 0 / 1.321 GB, free: 13.63 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/1.26, allocations: 0.4963 MB / 1.321 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/1.262, allocations: 281.4 kB / 1.321 GB, free: 12.86 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/1.266, allocations: 1.78 MB / 1.323 GB, free: 11.06 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/1.266, allocations: 461.4 kB / 1.323 GB, free: 10.58 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001014/1.267, allocations: 274.5 kB / 1.324 GB, free: 10.3 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/1.268, allocations: 108.4 kB / 1.324 GB, free: 10.2 MB / 1.17 GB Notification: Performance of SimCode: time 1.643e-06/1.268, allocations: 0 / 1.324 GB, free: 10.2 MB / 1.17 GB Notification: Performance of Templates: time 0.03036/1.298, allocations: 15.71 MB / 1.339 GB, free: 10.78 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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: 9.932177190086804]