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.001684/0.001684, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002203/0.002203, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.512/1.512, allocations: 230.6 MB / 256 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.311/3.311, allocations: 0.4892 GB / 0.7943 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.002156/0.002156, allocations: 71.42 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3758, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008461/0.3843, allocations: 4.676 MB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.5661, allocations: 132.8 MB / 1.46 GB, free: 7.859 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009161/0.5671, allocations: 23.81 kB / 1.46 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008506/0.5679, allocations: 214.1 kB / 1.46 GB, free: 7.625 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.5702, allocations: 0.5826 MB / 1.461 GB, free: 7.043 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.5726, allocations: 0.8974 MB / 1.461 GB, free: 6.152 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5747, allocations: 1.467 MB / 1.463 GB, free: 4.68 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009965/0.5757, allocations: 461.1 kB / 1.463 GB, free: 4.203 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009791/0.5767, allocations: 0.5412 MB / 1.464 GB, free: 3.66 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009114/0.5776, allocations: 0.4987 MB / 1.464 GB, free: 3.16 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002967/0.5779, allocations: 128 kB / 1.464 GB, free: 3.035 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5791, allocations: 0.5113 MB / 1.465 GB, free: 2.523 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000437/0.5796, allocations: 327 kB / 1.465 GB, free: 2.203 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007513/0.5803, allocations: 0.4899 MB / 1.466 GB, free: 1.711 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.583, allocations: 1.821 MB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.583, allocations: 0 / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.483e-06/0.583, allocations: 4 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.983e-05/0.5831, allocations: 0 / 1.468 GB, free: 15.88 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.003092/0.5862, allocations: 1.496 MB / 1.469 GB, free: 14.34 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5862, allocations: 8.031 kB / 1.469 GB, free: 14.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.5881, allocations: 271.9 kB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.5895, allocations: 0.7337 MB / 1.47 GB, free: 13.31 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/0.5896, allocations: 70 kB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.5897, allocations: 95.94 kB / 1.47 GB, free: 13.15 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.5918, allocations: 1.271 MB / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.5918, allocations: 0 / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-05/0.5919, allocations: 36 kB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.592, allocations: 24 kB / 1.471 GB, free: 11.72 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.5941, allocations: 1.132 MB / 1.473 GB, free: 10.58 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.5985, allocations: 2.256 MB / 1.475 GB, free: 8.273 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.6003, allocations: 0.783 MB / 1.475 GB, free: 7.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.6009, allocations: 290.7 kB / 1.476 GB, free: 7.191 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005122/0.6014, allocations: 80.56 kB / 1.476 GB, free: 7.113 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.6025, allocations: 0.6076 MB / 1.476 GB, free: 6.465 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.465e-06/0.6025, allocations: 0 / 1.476 GB, free: 6.465 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003499/0.606, allocations: 1.15 MB / 1.478 GB, free: 5.305 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.6061, allocations: 204.4 kB / 1.478 GB, free: 5.062 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/0.607, allocations: 0.6095 MB / 1.478 GB, free: 4.445 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/0.6071, allocations: 41.7 kB / 1.478 GB, free: 4.398 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.6075, allocations: 448.9 kB / 1.479 GB, free: 3.953 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.6077, allocations: 273.7 kB / 1.479 GB, free: 3.684 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.608, allocations: 170.6 kB / 1.479 GB, free: 3.512 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.6082, allocations: 378.8 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.6089, allocations: 277.8 kB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/0.6097, allocations: 0.4957 MB / 1.48 GB, free: 2.32 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6111, allocations: 0.6229 MB / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.6111, allocations: 0 / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00224/0.6134, allocations: 0.8804 MB / 1.482 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6134, allocations: 11.94 kB / 1.482 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6134, allocations: 0 / 1.482 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.614, allocations: 80.88 kB / 1.482 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.6147, allocations: 163.8 kB / 1.482 GB, free: 0.543 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.6171, allocations: 1.504 MB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.6179, allocations: 95.47 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.618, allocations: 39.97 kB / 1.484 GB, free: 14.8 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.0005223/0.6185, allocations: 283.5 kB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.6187, allocations: 83.44 kB / 1.484 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.6215, allocations: 1.085 MB / 1.485 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.6215, allocations: 19.94 kB / 1.485 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6215, allocations: 0 / 1.485 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6215, allocations: 3.984 kB / 1.485 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.6253, allocations: 1.74 MB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6253, allocations: 0 / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.626, allocations: 147.8 kB / 1.487 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.6265, allocations: 76.78 kB / 1.487 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/0.6266, allocations: 27.97 kB / 1.487 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.6289, allocations: 1.536 MB / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6289, allocations: 0 / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.6314, allocations: 1.014 MB / 1.49 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.6319, allocations: 203 kB / 1.49 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6321, allocations: 20 kB / 1.49 GB, free: 8.379 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.6329, allocations: 67.92 kB / 1.49 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.6332, allocations: 76.8 kB / 1.49 GB, free: 8.238 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.6333, allocations: 39.97 kB / 1.49 GB, free: 8.199 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009108/0.6342, allocations: 439 kB / 1.49 GB, free: 7.777 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6342, allocations: 0 / 1.49 GB, free: 7.777 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00155/0.6357, allocations: 367 kB / 1.491 GB, free: 7.418 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.002718/0.6385, allocations: 0.6624 MB / 1.491 GB, free: 6.953 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.6407, allocations: 0.8197 MB / 1.492 GB, free: 6.121 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.6407, allocations: 4 kB / 1.492 GB, free: 6.117 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.6418, allocations: 0.5041 MB / 1.493 GB, free: 5.602 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.6434, allocations: 298.6 kB / 1.493 GB, free: 5.336 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.648, allocations: 1.758 MB / 1.495 GB, free: 3.551 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008955/0.6489, allocations: 465.4 kB / 1.495 GB, free: 3.066 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001162/0.6501, allocations: 270.5 kB / 1.495 GB, free: 2.797 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.6504, allocations: 107.4 kB / 1.495 GB, free: 2.691 MB / 1.186 GB Notification: Performance of SimCode: time 1.974e-06/0.6504, allocations: 0 / 1.495 GB, free: 2.691 MB / 1.186 GB Notification: Performance of Templates: time 0.03406/0.6845, allocations: 16.82 MB / 1.512 GB, free: 2.137 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 -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/jenkins/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.353543562814593]