Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001329/0.001329, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001432/0.001432, 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.65/2.65, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002203/0.002203, allocations: 67.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3165, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007448/0.3239, allocations: 4.685 MB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7053/1.029, allocations: 132.8 MB / 1.252 GB, free: 2.992 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008518/1.03, allocations: 19.81 kB / 1.252 GB, free: 2.984 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008318/1.031, allocations: 216.7 kB / 1.252 GB, free: 2.836 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/1.033, allocations: 0.5857 MB / 1.252 GB, free: 2.496 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/1.036, allocations: 0.892 MB / 1.253 GB, free: 2.035 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002129/1.038, allocations: 1.472 MB / 1.255 GB, free: 1.266 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009111/1.039, allocations: 447.3 kB / 1.255 GB, free: 1.008 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00097/1.04, allocations: 0.5437 MB / 1.256 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007511/1.04, allocations: 0.5009 MB / 1.256 GB, free: 0.5 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/1.04, allocations: 128 kB / 1.256 GB, free: 0.5 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/1.041, allocations: 0.5144 MB / 1.257 GB, free: 396 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/1.042, allocations: 325.3 kB / 1.257 GB, free: 180 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005526/1.042, allocations: 0.493 MB / 1.258 GB, free: 15.89 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/1.045, allocations: 1.815 MB / 1.259 GB, free: 15.12 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/1.045, allocations: 0 / 1.259 GB, free: 15.12 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.004e-06/1.045, allocations: 1.406 kB / 1.259 GB, free: 15.12 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.955e-05/1.045, allocations: 0 / 1.259 GB, free: 15.12 MB / 1.123 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.002914/1.048, allocations: 1.5 MB / 1.261 GB, free: 14.14 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.048, allocations: 10.23 kB / 1.261 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/1.049, allocations: 270.3 kB / 1.261 GB, free: 14.07 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.051, allocations: 0.7382 MB / 1.262 GB, free: 13.61 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/1.051, allocations: 73.53 kB / 1.262 GB, free: 13.57 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.051, allocations: 90.39 kB / 1.262 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/1.053, allocations: 1.263 MB / 1.263 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.053, allocations: 6.625 kB / 1.263 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/1.053, allocations: 42.84 kB / 1.263 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/1.053, allocations: 23.25 kB / 1.263 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/1.055, allocations: 1.129 MB / 1.264 GB, free: 12.47 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/1.06, allocations: 2.256 MB / 1.267 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/1.062, allocations: 0.7884 MB / 1.267 GB, free: 10.85 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/1.062, allocations: 292.6 kB / 1.268 GB, free: 10.74 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/1.063, allocations: 81.64 kB / 1.268 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/1.064, allocations: 0.6076 MB / 1.268 GB, free: 10.39 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.544e-06/1.064, allocations: 0 / 1.268 GB, free: 10.39 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003645/1.068, allocations: 1.158 MB / 1.269 GB, free: 9.977 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.068, allocations: 190.8 kB / 1.27 GB, free: 9.758 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/1.069, allocations: 0.6082 MB / 1.27 GB, free: 9.477 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.47e-05/1.069, allocations: 42.44 kB / 1.27 GB, free: 9.434 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/1.069, allocations: 441.2 kB / 1.271 GB, free: 9.094 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/1.069, allocations: 278 kB / 1.271 GB, free: 8.875 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/1.07, allocations: 170 kB / 1.271 GB, free: 8.797 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.07, allocations: 384.4 kB / 1.272 GB, free: 8.453 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/1.071, allocations: 277 kB / 1.272 GB, free: 8.355 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/1.071, allocations: 0.4888 MB / 1.272 GB, free: 8.043 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.073, allocations: 0.6329 MB / 1.273 GB, free: 7.75 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.073, allocations: 0 / 1.273 GB, free: 7.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002249/1.075, allocations: 0.8731 MB / 1.274 GB, free: 7.402 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.075, allocations: 11.59 kB / 1.274 GB, free: 7.398 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.075, allocations: 11.47 kB / 1.274 GB, free: 7.391 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/1.076, allocations: 80.05 kB / 1.274 GB, free: 7.375 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/1.076, allocations: 177.5 kB / 1.274 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.079, allocations: 1.492 MB / 1.275 GB, free: 5.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/1.08, allocations: 87.03 kB / 1.276 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/1.08, allocations: 39.23 kB / 1.276 GB, free: 5.934 MB / 1.123 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.0005715/1.08, allocations: 282.9 kB / 1.276 GB, free: 5.723 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/1.081, allocations: 86.41 kB / 1.276 GB, free: 5.676 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/1.083, allocations: 1.082 MB / 1.277 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.083, allocations: 9.406 kB / 1.277 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.083, allocations: 7.562 kB / 1.277 GB, free: 5.258 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.083, allocations: 9.578 kB / 1.277 GB, free: 5.254 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/1.087, allocations: 1.742 MB / 1.279 GB, free: 4.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.087, allocations: 0 / 1.279 GB, free: 4.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/1.088, allocations: 152 kB / 1.279 GB, free: 4.414 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/1.088, allocations: 78.52 kB / 1.279 GB, free: 4.391 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/1.088, allocations: 26.12 kB / 1.279 GB, free: 4.379 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/1.09, allocations: 1.515 MB / 1.28 GB, free: 3.004 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.09, allocations: 3.938 kB / 1.28 GB, free: 3 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/1.093, allocations: 1.021 MB / 1.281 GB, free: 2.535 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/1.093, allocations: 208.3 kB / 1.282 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/1.094, allocations: 18.05 kB / 1.282 GB, free: 2.406 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/1.094, allocations: 68 kB / 1.282 GB, free: 2.391 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/1.095, allocations: 76.92 kB / 1.282 GB, free: 2.375 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/1.095, allocations: 32.78 kB / 1.282 GB, free: 2.371 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008311/1.096, allocations: 439.7 kB / 1.282 GB, free: 2.18 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.096, allocations: 0 / 1.282 GB, free: 2.18 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00144/1.097, allocations: 375.4 kB / 1.283 GB, free: 2.066 MB / 1.123 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.002418/1.099, allocations: 0.6554 MB / 1.283 GB, free: 1.816 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002117/1.102, allocations: 0.8183 MB / 1.284 GB, free: 1.484 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.102, allocations: 1.125 kB / 1.284 GB, free: 1.484 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.103, allocations: 0.5091 MB / 1.285 GB, free: 1.238 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.104, allocations: 297.1 kB / 1.285 GB, free: 1.141 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/1.108, allocations: 1.764 MB / 1.287 GB, free: 228 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/1.108, allocations: 459.2 kB / 1.287 GB, free: 92 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009389/1.109, allocations: 272.8 kB / 1.287 GB, free: 4 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/1.11, allocations: 111.1 kB / 1.287 GB, free: 15.98 MB / 1.139 GB Notification: Performance of SimCode: time 6.32e-07/1.11, allocations: 0 / 1.287 GB, free: 15.98 MB / 1.139 GB Notification: Performance of Templates: time 0.02986/1.14, allocations: 15.72 MB / 1.303 GB, free: 9.922 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.283778485958464]