Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 192.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.88 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6428/0.6441, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006378/0.6505, allocations: 5.177 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.154/0.8045, allocations: 148.5 MB / 1.167 GB, free: 8.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.8056, allocations: 19.88 kB / 1.167 GB, free: 8.473 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008991/0.8065, allocations: 150.8 kB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.8085, allocations: 0.5009 MB / 1.167 GB, free: 7.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.8104, allocations: 0.776 MB / 1.168 GB, free: 7.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.8118, allocations: 1.452 MB / 1.17 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.8127, allocations: 0.6449 MB / 1.17 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.8133, allocations: 0.5255 MB / 1.171 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.8139, allocations: 0.5445 MB / 1.171 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.814, allocations: 124 kB / 1.171 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007938/0.8148, allocations: 499.6 kB / 1.172 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.8151, allocations: 311 kB / 1.172 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.8156, allocations: 0.6141 MB / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.8172, allocations: 1.706 MB / 1.174 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8173, allocations: 4 kB / 1.175 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8173, allocations: 4 kB / 1.175 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.8173, allocations: 0 / 1.175 GB, free: 0.6094 MB / 0.92 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.002484/0.8198, allocations: 1.5 MB / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8198, allocations: 8.031 kB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.821, allocations: 223.3 kB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/0.822, allocations: 0.7577 MB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/0.822, allocations: 70 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.8222, allocations: 95.98 kB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.8239, allocations: 1.012 MB / 1.178 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.8239, allocations: 0 / 1.178 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.824, allocations: 44 kB / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.8241, allocations: 23.94 kB / 1.178 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.826, allocations: 1.175 MB / 1.179 GB, free: 11.57 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.8301, allocations: 2.973 MB / 1.182 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.8319, allocations: 0.9255 MB / 1.183 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/0.8325, allocations: 318.7 kB / 1.183 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.8332, allocations: 470.1 kB / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.8341, allocations: 0.4914 MB / 1.184 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/0.8342, allocations: 0 / 1.184 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003628/0.8378, allocations: 1.244 MB / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.838, allocations: 188.6 kB / 1.186 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.8393, allocations: 0.6449 MB / 1.186 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/0.8394, allocations: 41.7 kB / 1.186 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.8399, allocations: 424.2 kB / 1.187 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.8402, allocations: 264.2 kB / 1.187 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.8405, allocations: 166.5 kB / 1.187 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002617/0.8408, allocations: 386.8 kB / 1.188 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.8414, allocations: 277.8 kB / 1.188 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.8422, allocations: 391 kB / 1.188 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.8435, allocations: 0.6151 MB / 1.189 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8435, allocations: 4 kB / 1.189 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002104/0.8456, allocations: 0.8798 MB / 1.19 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8456, allocations: 8 kB / 1.19 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8456, allocations: 0 / 1.19 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.8463, allocations: 84.86 kB / 1.19 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.847, allocations: 171.7 kB / 1.19 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.8494, allocations: 1.636 MB / 1.192 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.8502, allocations: 103.3 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.8503, allocations: 35.98 kB / 1.192 GB, free: 14.34 MB / 0.9512 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.0004915/0.8508, allocations: 272.1 kB / 1.192 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.851, allocations: 86.97 kB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.8537, allocations: 1.101 MB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8537, allocations: 8 kB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.8537, allocations: 0 / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.8537, allocations: 7.922 kB / 1.193 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.8575, allocations: 2.008 MB / 1.195 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8575, allocations: 4 kB / 1.195 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.8581, allocations: 147.8 kB / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/0.8586, allocations: 72.78 kB / 1.195 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.8587, allocations: 23.98 kB / 1.195 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.8608, allocations: 1.662 MB / 1.197 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8608, allocations: 0 / 1.197 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.8631, allocations: 1.019 MB / 1.198 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.8635, allocations: 275.7 kB / 1.198 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.8637, allocations: 24 kB / 1.198 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.8644, allocations: 67.92 kB / 1.198 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.8646, allocations: 72.89 kB / 1.198 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/0.8647, allocations: 39.92 kB / 1.198 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006496/0.8654, allocations: 467 kB / 1.199 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8654, allocations: 0 / 1.199 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001025/0.8664, allocations: 359.1 kB / 1.199 GB, free: 6.387 MB / 0.9512 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.001438/0.8678, allocations: 0.6329 MB / 1.2 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002569/0.8704, allocations: 1.062 MB / 1.201 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8704, allocations: 0 / 1.201 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.8714, allocations: 0.5276 MB / 1.201 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.8728, allocations: 313.8 kB / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.8767, allocations: 2.178 MB / 1.204 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.8775, allocations: 1.047 MB / 1.205 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009112/0.8784, allocations: 266.8 kB / 1.205 GB, free: 500 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.8787, allocations: 103.4 kB / 1.205 GB, free: 396 kB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/0.8787, allocations: 0 / 1.205 GB, free: 396 kB / 0.9512 GB Notification: Performance of Templates: time 0.02669/0.9054, allocations: 15.67 MB / 1.22 GB, free: 0.9023 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches