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.00148/0.00148, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.001834/0.001834, allocations: 171.7 kB / 22.46 MB, free: 5.363 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.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.754/2.754, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.801e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007043/0.007071, allocations: 4.692 MB / 0.986 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.1829, allocations: 132.8 MB / 1.116 GB, free: 1.922 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008602/0.1837, allocations: 23.81 kB / 1.116 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.1844, allocations: 214 kB / 1.116 GB, free: 1.688 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.1864, allocations: 0.608 MB / 1.117 GB, free: 1.082 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.1887, allocations: 0.9188 MB / 1.117 GB, free: 172 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.1908, allocations: 1.541 MB / 1.119 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008702/0.1916, allocations: 452.7 kB / 1.119 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.1929, allocations: 0.8069 MB / 1.12 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/0.1935, allocations: 450.7 kB / 1.121 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.1937, allocations: 132 kB / 1.121 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.1949, allocations: 0.5227 MB / 1.121 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.1953, allocations: 334.9 kB / 1.122 GB, free: 11.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.1958, allocations: 426.9 kB / 1.122 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.1984, allocations: 1.947 MB / 1.124 GB, free: 9.543 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1984, allocations: 0 / 1.124 GB, free: 9.543 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1984, allocations: 0 / 1.124 GB, free: 9.543 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.1984, allocations: 0 / 1.124 GB, free: 9.543 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002913/0.2013, allocations: 1.512 MB / 1.125 GB, free: 7.996 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2014, allocations: 8.031 kB / 1.125 GB, free: 7.988 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.2033, allocations: 279.8 kB / 1.126 GB, free: 7.715 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.2047, allocations: 0.7453 MB / 1.126 GB, free: 6.945 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.2048, allocations: 78.12 kB / 1.126 GB, free: 6.867 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.2049, allocations: 99.98 kB / 1.127 GB, free: 6.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.207, allocations: 1.283 MB / 1.128 GB, free: 5.387 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2071, allocations: 8 kB / 1.128 GB, free: 5.379 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/0.2072, allocations: 40 kB / 1.128 GB, free: 5.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.2072, allocations: 24 kB / 1.128 GB, free: 5.316 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.2092, allocations: 1.139 MB / 1.129 GB, free: 4.176 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00457/0.2138, allocations: 2.384 MB / 1.131 GB, free: 1.738 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.2156, allocations: 0.8302 MB / 1.132 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.2163, allocations: 316 kB / 1.132 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004976/0.2168, allocations: 80.89 kB / 1.132 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4897/0.7065, allocations: 0.6295 MB / 1.133 GB, free: 194.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=90): time 3.667e-06/0.7065, allocations: 0 / 1.133 GB, free: 194.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=90): time 0.003364/0.7098, allocations: 1.214 MB / 1.134 GB, free: 194.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.7099, allocations: 196.6 kB / 1.134 GB, free: 194.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.7106, allocations: 0.61 MB / 1.135 GB, free: 194.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.85e-05/0.7107, allocations: 53.23 kB / 1.135 GB, free: 194.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.711, allocations: 437.2 kB / 1.136 GB, free: 193.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.7112, allocations: 299.3 kB / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.7114, allocations: 185.8 kB / 1.136 GB, free: 193.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.7115, allocations: 396.2 kB / 1.136 GB, free: 193.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.712, allocations: 300.1 kB / 1.137 GB, free: 193.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.7127, allocations: 0.5212 MB / 1.137 GB, free: 192.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.7138, allocations: 0.6717 MB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7138, allocations: 0 / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001996/0.7158, allocations: 0.947 MB / 1.139 GB, free: 192.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.7159, allocations: 2.938 kB / 1.139 GB, free: 192.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7159, allocations: 3.156 kB / 1.139 GB, free: 192.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.7164, allocations: 85.89 kB / 1.139 GB, free: 192.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.7171, allocations: 174 kB / 1.139 GB, free: 192.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.7189, allocations: 1.503 MB / 1.14 GB, free: 190.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.7197, allocations: 99.88 kB / 1.141 GB, free: 190.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.7198, allocations: 39.53 kB / 1.141 GB, free: 190.8 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (109): * Single equations (assignments): 108 * 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.0004747/0.7202, allocations: 286.7 kB / 1.141 GB, free: 190.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.7204, allocations: 96.03 kB / 1.141 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.7227, allocations: 1.116 MB / 1.142 GB, free: 190.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.7227, allocations: 15.69 kB / 1.142 GB, free: 190.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.7227, allocations: 0 / 1.142 GB, free: 190.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.7227, allocations: 3.234 kB / 1.142 GB, free: 190.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.7259, allocations: 1.972 MB / 1.144 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7259, allocations: 3.656 kB / 1.144 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.7265, allocations: 151.5 kB / 1.144 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.7269, allocations: 70.02 kB / 1.144 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.727, allocations: 27.33 kB / 1.144 GB, free: 189.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.7285, allocations: 1.529 MB / 1.146 GB, free: 187.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7285, allocations: 7.812 kB / 1.146 GB, free: 187.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.7305, allocations: 1.056 MB / 1.147 GB, free: 187.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.7309, allocations: 211.4 kB / 1.147 GB, free: 187.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.731, allocations: 20.52 kB / 1.147 GB, free: 187.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.7317, allocations: 72.91 kB / 1.147 GB, free: 187.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.7318, allocations: 76.66 kB / 1.147 GB, free: 187.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.7319, allocations: 37.61 kB / 1.147 GB, free: 187.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004745/0.7324, allocations: 438 kB / 1.148 GB, free: 187 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7324, allocations: 4.516 kB / 1.148 GB, free: 187 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001041/0.7334, allocations: 375 kB / 1.148 GB, free: 186.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002016/0.7354, allocations: 0.6781 MB / 1.149 GB, free: 186.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.7372, allocations: 0.8764 MB / 1.149 GB, free: 186.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7372, allocations: 0 / 1.149 GB, free: 186.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/0.738, allocations: 0.5164 MB / 1.15 GB, free: 186.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.7393, allocations: 290.3 kB / 1.15 GB, free: 186 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.742, allocations: 1.788 MB / 1.152 GB, free: 185.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.7424, allocations: 471.9 kB / 1.152 GB, free: 185 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007179/0.7431, allocations: 272.2 kB / 1.153 GB, free: 184.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.7434, allocations: 110.1 kB / 1.153 GB, free: 184.9 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.7434, allocations: 0 / 1.153 GB, free: 184.9 MB / 1.076 GB Notification: Performance of Templates: time 0.02645/0.7698, allocations: 16.17 MB / 1.169 GB, free: 182.9 MB / 1.076 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.320363912731409]