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.002062/0.002062, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002331/0.002331, allocations: 213.1 kB / 22.99 MB, free: 4.984 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.622/1.622, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.244/3.244, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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: 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.002025/0.002025, allocations: 68.38 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3729, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007276/0.3801, allocations: 4.688 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.565, allocations: 132.8 MB / 1.461 GB, free: 6.977 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.566, allocations: 27.81 kB / 1.461 GB, free: 6.949 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.5667, allocations: 202.1 kB / 1.462 GB, free: 6.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.5687, allocations: 0.5883 MB / 1.462 GB, free: 6.164 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.5708, allocations: 0.8914 MB / 1.463 GB, free: 5.277 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.5725, allocations: 1.479 MB / 1.464 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008006/0.5733, allocations: 473.2 kB / 1.465 GB, free: 3.305 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000724/0.574, allocations: 0.549 MB / 1.465 GB, free: 2.754 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006573/0.5747, allocations: 0.5562 MB / 1.466 GB, free: 2.195 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.5749, allocations: 128 kB / 1.466 GB, free: 2.07 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.576, allocations: 0.527 MB / 1.467 GB, free: 1.543 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.5763, allocations: 323 kB / 1.467 GB, free: 1.227 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.5768, allocations: 0.4976 MB / 1.467 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.5791, allocations: 1.817 MB / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5791, allocations: 0 / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5791, allocations: 0 / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.5791, allocations: 4 kB / 1.469 GB, free: 14.9 MB / 1.17 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.002933/0.582, allocations: 1.5 MB / 1.471 GB, free: 13.36 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5821, allocations: 8.031 kB / 1.471 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.584, allocations: 271.9 kB / 1.471 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.5854, allocations: 0.7337 MB / 1.472 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.5855, allocations: 74 kB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.5856, allocations: 91.98 kB / 1.472 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.5877, allocations: 1.267 MB / 1.473 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.5877, allocations: 0 / 1.473 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5878, allocations: 43.94 kB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.5878, allocations: 24 kB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.5899, allocations: 1.132 MB / 1.474 GB, free: 9.594 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004276/0.5941, allocations: 2.244 MB / 1.476 GB, free: 7.297 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.5959, allocations: 0.7879 MB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.5965, allocations: 290.7 kB / 1.477 GB, free: 6.211 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.597, allocations: 84.56 kB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.5981, allocations: 0.5999 MB / 1.478 GB, free: 5.488 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/0.5981, allocations: 3.938 kB / 1.478 GB, free: 5.484 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003717/0.6018, allocations: 1.154 MB / 1.479 GB, free: 4.32 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.6019, allocations: 196.5 kB / 1.479 GB, free: 4.086 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/0.6028, allocations: 0.6057 MB / 1.48 GB, free: 3.473 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.6029, allocations: 49.69 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.6034, allocations: 441 kB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.6037, allocations: 277.7 kB / 1.481 GB, free: 2.707 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.604, allocations: 166.6 kB / 1.481 GB, free: 2.539 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.6043, allocations: 382.8 kB / 1.481 GB, free: 2.156 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.6049, allocations: 277.8 kB / 1.482 GB, free: 1.883 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.6057, allocations: 0.4996 MB / 1.482 GB, free: 1.34 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.6071, allocations: 0.619 MB / 1.483 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6071, allocations: 0 / 1.483 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002373/0.6095, allocations: 0.8766 MB / 1.483 GB, free: 15.82 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6095, allocations: 7.938 kB / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6095, allocations: 4 kB / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006771/0.6102, allocations: 92.75 kB / 1.484 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.6109, allocations: 167.7 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.6135, allocations: 1.5 MB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/0.6145, allocations: 89.55 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.6145, allocations: 44.03 kB / 1.485 GB, free: 13.82 MB / 1.186 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.0005883/0.6151, allocations: 279.5 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.6153, allocations: 91.42 kB / 1.486 GB, free: 13.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.6181, allocations: 1.073 MB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.6181, allocations: 15.94 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.6181, allocations: 7.938 kB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6181, allocations: 3.984 kB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.6218, allocations: 1.74 MB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6218, allocations: 0 / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.6225, allocations: 151.7 kB / 1.489 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.623, allocations: 76.78 kB / 1.489 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.623, allocations: 27.97 kB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.6252, allocations: 1.524 MB / 1.49 GB, free: 8.66 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6252, allocations: 4.031 kB / 1.49 GB, free: 8.656 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.6277, allocations: 1.026 MB / 1.491 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.6283, allocations: 199.1 kB / 1.491 GB, free: 7.414 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6284, allocations: 19.98 kB / 1.491 GB, free: 7.395 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/0.6291, allocations: 63.94 kB / 1.491 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.6293, allocations: 76.86 kB / 1.492 GB, free: 7.258 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/0.6294, allocations: 35.97 kB / 1.492 GB, free: 7.223 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006802/0.6301, allocations: 435 kB / 1.492 GB, free: 6.805 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6301, allocations: 0 / 1.492 GB, free: 6.805 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001352/0.6315, allocations: 371 kB / 1.492 GB, free: 6.441 MB / 1.186 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.002464/0.6339, allocations: 0.6733 MB / 1.493 GB, free: 5.969 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.6361, allocations: 0.8118 MB / 1.494 GB, free: 5.145 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6361, allocations: 4 kB / 1.494 GB, free: 5.141 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6372, allocations: 0.508 MB / 1.494 GB, free: 4.621 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.6384, allocations: 300.2 kB / 1.495 GB, free: 4.352 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.642, allocations: 1.762 MB / 1.496 GB, free: 2.559 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.6426, allocations: 457.4 kB / 1.497 GB, free: 2.082 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000882/0.6434, allocations: 270.5 kB / 1.497 GB, free: 1.812 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.6438, allocations: 111.4 kB / 1.497 GB, free: 1.703 MB / 1.186 GB Notification: Performance of SimCode: time 1.243e-06/0.6438, allocations: 0 / 1.497 GB, free: 1.703 MB / 1.186 GB Notification: Performance of Templates: time 0.0325/0.6763, allocations: 17.04 MB / 1.514 GB, free: 0.9258 MB / 1.201 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 cvode -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: 10.155713001993718]