Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 191.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.181/3.181, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 70.03 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3756, allocations: 174.9 MB / 1.316 GB, free: 9.738 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007566/0.3831, allocations: 5.221 MB / 1.321 GB, free: 4.492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1924/0.5755, allocations: 151.3 MB / 1.469 GB, free: 12.59 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009781/0.5765, allocations: 23.81 kB / 1.469 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.5771, allocations: 202.1 kB / 1.469 GB, free: 12.37 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.5789, allocations: 0.5776 MB / 1.47 GB, free: 11.79 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.5809, allocations: 0.8972 MB / 1.471 GB, free: 10.9 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.5826, allocations: 1.452 MB / 1.472 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008107/0.5834, allocations: 476.6 kB / 1.472 GB, free: 8.949 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.5841, allocations: 0.5294 MB / 1.473 GB, free: 8.418 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.5848, allocations: 0.5562 MB / 1.473 GB, free: 7.859 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.585, allocations: 124 kB / 1.474 GB, free: 7.738 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.586, allocations: 0.5035 MB / 1.474 GB, free: 7.234 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.5863, allocations: 322.9 kB / 1.474 GB, free: 6.918 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.5869, allocations: 0.6064 MB / 1.475 GB, free: 6.309 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.5891, allocations: 1.759 MB / 1.477 GB, free: 4.543 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5891, allocations: 0 / 1.477 GB, free: 4.543 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5891, allocations: 0 / 1.477 GB, free: 4.543 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.5891, allocations: 0 / 1.477 GB, free: 4.543 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.003207/0.5924, allocations: 1.469 MB / 1.478 GB, free: 3.035 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.5924, allocations: 12.02 kB / 1.478 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.5937, allocations: 220 kB / 1.478 GB, free: 2.809 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.595, allocations: 0.7212 MB / 1.479 GB, free: 2.062 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/0.5951, allocations: 74 kB / 1.479 GB, free: 1.992 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.5952, allocations: 91.98 kB / 1.479 GB, free: 1.902 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.5971, allocations: 1.012 MB / 1.48 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5971, allocations: 0 / 1.48 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.462e-05/0.5972, allocations: 40 kB / 1.48 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.5972, allocations: 28 kB / 1.48 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.5994, allocations: 1.179 MB / 1.481 GB, free: 15.6 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004707/0.6041, allocations: 2.992 MB / 1.484 GB, free: 12.45 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.6058, allocations: 0.7882 MB / 1.485 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/0.6065, allocations: 294.6 kB / 1.485 GB, free: 11.36 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.607, allocations: 88.59 kB / 1.485 GB, free: 11.28 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.608, allocations: 0.5009 MB / 1.486 GB, free: 10.76 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 1.904e-06/0.608, allocations: 0 / 1.486 GB, free: 10.76 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003615/0.6116, allocations: 1.166 MB / 1.487 GB, free: 9.586 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.6117, allocations: 192.6 kB / 1.487 GB, free: 9.355 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.6127, allocations: 0.6372 MB / 1.488 GB, free: 8.715 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.228e-05/0.6127, allocations: 45.7 kB / 1.488 GB, free: 8.664 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.6131, allocations: 433 kB / 1.488 GB, free: 8.234 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.6134, allocations: 281.6 kB / 1.489 GB, free: 7.957 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.6137, allocations: 162.6 kB / 1.489 GB, free: 7.793 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002354/0.6139, allocations: 390.8 kB / 1.489 GB, free: 7.402 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.6146, allocations: 281.8 kB / 1.489 GB, free: 7.125 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.6153, allocations: 379.1 kB / 1.49 GB, free: 6.746 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.6166, allocations: 0.6268 MB / 1.49 GB, free: 6.109 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6166, allocations: 7.938 kB / 1.49 GB, free: 6.102 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002169/0.6187, allocations: 0.8842 MB / 1.491 GB, free: 5.203 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6187, allocations: 4 kB / 1.491 GB, free: 5.199 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6188, allocations: 0 / 1.491 GB, free: 5.199 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.6194, allocations: 84.86 kB / 1.491 GB, free: 5.113 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.6201, allocations: 167.7 kB / 1.492 GB, free: 4.949 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.6224, allocations: 1.525 MB / 1.493 GB, free: 3.309 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008258/0.6232, allocations: 103.5 kB / 1.493 GB, free: 3.207 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.6233, allocations: 35.97 kB / 1.493 GB, free: 3.172 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.0005274/0.6238, allocations: 272.9 kB / 1.493 GB, free: 2.898 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.624, allocations: 91.44 kB / 1.493 GB, free: 2.809 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.6265, allocations: 1.097 MB / 1.495 GB, free: 1.691 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.6266, allocations: 12 kB / 1.495 GB, free: 1.68 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.6266, allocations: 0 / 1.495 GB, free: 1.68 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.6266, allocations: 3.984 kB / 1.495 GB, free: 1.676 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.6303, allocations: 1.981 MB / 1.496 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6303, allocations: 8 kB / 1.497 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.6309, allocations: 147.7 kB / 1.497 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.6314, allocations: 72.78 kB / 1.497 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.6314, allocations: 27.98 kB / 1.497 GB, free: 15.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6335, allocations: 1.551 MB / 1.498 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6335, allocations: 144 / 1.498 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.6359, allocations: 1.034 MB / 1.499 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.6364, allocations: 199.1 kB / 1.499 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.6365, allocations: 23.92 kB / 1.499 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/0.6372, allocations: 59.94 kB / 1.5 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.6373, allocations: 80.86 kB / 1.5 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.6374, allocations: 39.91 kB / 1.5 GB, free: 12.27 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006538/0.6381, allocations: 463 kB / 1.5 GB, free: 11.82 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6381, allocations: 3.938 kB / 1.5 GB, free: 11.82 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001001/0.6391, allocations: 359.1 kB / 1.5 GB, free: 11.46 MB / 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.001965/0.641, allocations: 0.6163 MB / 1.501 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.643, allocations: 0.8234 MB / 1.502 GB, free: 10.19 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.643, allocations: 4.188 kB / 1.502 GB, free: 10.18 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.644, allocations: 0.504 MB / 1.502 GB, free: 9.664 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.6454, allocations: 307.8 kB / 1.503 GB, free: 9.387 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.6487, allocations: 1.757 MB / 1.504 GB, free: 7.605 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.6494, allocations: 1.043 MB / 1.505 GB, free: 6.531 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009002/0.6503, allocations: 278.6 kB / 1.506 GB, free: 6.254 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.6506, allocations: 111.3 kB / 1.506 GB, free: 6.145 MB / 1.201 GB Notification: Performance of SimCode: time 1.193e-06/0.6506, allocations: 0 / 1.506 GB, free: 6.145 MB / 1.201 GB Notification: Performance of Templates: time 0.03126/0.6819, allocations: 16.48 MB / 1.522 GB, free: 5.852 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.786043711006641]