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.00163/0.00163, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.001899/0.001899, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.181/3.181, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 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.002052/0.002052, allocations: 71.08 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007739/0.3773, allocations: 5.224 MB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1916/0.5689, allocations: 154.1 MB / 1.477 GB, free: 2.891 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.5697, allocations: 23.81 kB / 1.477 GB, free: 2.867 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006767/0.5704, allocations: 218 kB / 1.477 GB, free: 2.652 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.5722, allocations: 0.591 MB / 1.478 GB, free: 2.062 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.5743, allocations: 0.8758 MB / 1.478 GB, free: 1.191 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.5761, allocations: 1.479 MB / 1.48 GB, free: 15.71 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007952/0.5769, allocations: 476.1 kB / 1.48 GB, free: 15.22 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007507/0.5776, allocations: 0.5412 MB / 1.481 GB, free: 14.68 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.5783, allocations: 0.564 MB / 1.481 GB, free: 14.11 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.5785, allocations: 124 kB / 1.482 GB, free: 13.99 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.5795, allocations: 0.5425 MB / 1.482 GB, free: 13.45 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.5798, allocations: 322.9 kB / 1.482 GB, free: 13.13 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/0.5804, allocations: 0.618 MB / 1.483 GB, free: 12.51 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.5828, allocations: 1.802 MB / 1.485 GB, free: 10.7 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5828, allocations: 3.938 kB / 1.485 GB, free: 10.7 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5828, allocations: 0 / 1.485 GB, free: 10.7 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.569e-05/0.5828, allocations: 4 kB / 1.485 GB, free: 10.69 MB / 1.186 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.002926/0.5857, allocations: 1.568 MB / 1.486 GB, free: 9.07 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5858, allocations: 15.98 kB / 1.486 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.5877, allocations: 275.8 kB / 1.487 GB, free: 8.785 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5891, allocations: 0.7981 MB / 1.487 GB, free: 7.945 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.5892, allocations: 74 kB / 1.487 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.5894, allocations: 88 kB / 1.488 GB, free: 7.785 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.5914, allocations: 1.024 MB / 1.489 GB, free: 6.723 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.5914, allocations: 0 / 1.489 GB, free: 6.723 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.5915, allocations: 40 kB / 1.489 GB, free: 6.684 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.5915, allocations: 27.98 kB / 1.489 GB, free: 6.656 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.5937, allocations: 1.175 MB / 1.49 GB, free: 5.477 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004922/0.5986, allocations: 3.039 MB / 1.493 GB, free: 2.285 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.6004, allocations: 0.873 MB / 1.494 GB, free: 1.387 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.601, allocations: 294.6 kB / 1.494 GB, free: 1.098 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007115/0.6017, allocations: 470.1 kB / 1.494 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009893/0.6027, allocations: 0.4995 MB / 1.495 GB, free: 28 kB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.6027, allocations: 4 kB / 1.495 GB, free: 24 kB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003644/0.6064, allocations: 1.241 MB / 1.496 GB, free: 14.75 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.6065, allocations: 188.6 kB / 1.496 GB, free: 14.53 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009467/0.6074, allocations: 0.6646 MB / 1.497 GB, free: 13.86 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.6075, allocations: 49.62 kB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.6079, allocations: 437 kB / 1.497 GB, free: 13.37 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.6082, allocations: 281.6 kB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.6084, allocations: 170.6 kB / 1.498 GB, free: 12.91 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.6087, allocations: 390.8 kB / 1.498 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.6093, allocations: 277.8 kB / 1.498 GB, free: 12.25 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.61, allocations: 375.1 kB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.6114, allocations: 0.6268 MB / 1.499 GB, free: 11.24 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6114, allocations: 4 kB / 1.499 GB, free: 11.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00231/0.6137, allocations: 0.8881 MB / 1.5 GB, free: 10.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6137, allocations: 6.5 kB / 1.5 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.6137, allocations: 4 kB / 1.5 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.6143, allocations: 80.88 kB / 1.5 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.6151, allocations: 167.7 kB / 1.5 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.6174, allocations: 1.633 MB / 1.502 GB, free: 8.305 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008454/0.6183, allocations: 103.4 kB / 1.502 GB, free: 8.203 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.6184, allocations: 40.05 kB / 1.502 GB, free: 8.164 MB / 1.201 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.0005243/0.6189, allocations: 271.4 kB / 1.502 GB, free: 7.887 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.6191, allocations: 87.44 kB / 1.503 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.6219, allocations: 1.101 MB / 1.504 GB, free: 6.684 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.6219, allocations: 8 kB / 1.504 GB, free: 6.676 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6219, allocations: 4 kB / 1.504 GB, free: 6.672 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.6219, allocations: 3.984 kB / 1.504 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.6257, allocations: 2.021 MB / 1.506 GB, free: 4.586 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6257, allocations: 0 / 1.506 GB, free: 4.586 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.6264, allocations: 155.7 kB / 1.506 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/0.6268, allocations: 80.78 kB / 1.506 GB, free: 4.352 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.6269, allocations: 23.98 kB / 1.506 GB, free: 4.328 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.6291, allocations: 1.654 MB / 1.507 GB, free: 2.527 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6291, allocations: 3.938 kB / 1.507 GB, free: 2.523 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.6315, allocations: 1.026 MB / 1.508 GB, free: 1.477 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.6319, allocations: 284.1 kB / 1.509 GB, free: 1.18 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.632, allocations: 27.98 kB / 1.509 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007461/0.6328, allocations: 55.94 kB / 1.509 GB, free: 1.098 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.6329, allocations: 76.89 kB / 1.509 GB, free: 1.023 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/0.633, allocations: 35.92 kB / 1.509 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007074/0.6337, allocations: 487 kB / 1.509 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6337, allocations: 4 kB / 1.509 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001009/0.6347, allocations: 363 kB / 1.51 GB, free: 164 kB / 1.201 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.002071/0.6368, allocations: 0.6293 MB / 1.51 GB, free: 15.7 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.6388, allocations: 0.8158 MB / 1.511 GB, free: 14.88 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6388, allocations: 4 kB / 1.511 GB, free: 14.87 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.6398, allocations: 0.5041 MB / 1.512 GB, free: 14.36 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.6413, allocations: 303.9 kB / 1.512 GB, free: 14.08 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.6447, allocations: 1.781 MB / 1.514 GB, free: 12.27 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.6455, allocations: 1.047 MB / 1.515 GB, free: 11.2 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008868/0.6463, allocations: 278.8 kB / 1.515 GB, free: 10.92 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.6467, allocations: 111.4 kB / 1.515 GB, free: 10.81 MB / 1.217 GB Notification: Performance of SimCode: time 9.82e-07/0.6467, allocations: 0 / 1.515 GB, free: 10.81 MB / 1.217 GB Notification: Performance of Templates: time 0.03157/0.6782, allocations: 16.23 MB / 1.531 GB, free: 10.76 MB / 1.232 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: 9.762558077927679]