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.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.0007995/0.0007995, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000822/0.000822, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8948/0.8948, allocations: 177.2 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.738/1.738, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.913e-06/1.913e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.823e-05, allocations: 5.234 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004949/0.004977, allocations: 4.674 MB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6576/0.6626, allocations: 132.8 MB / 1.135 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000799/0.6634, allocations: 19.34 kB / 1.135 GB, free: 14.74 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.6639, allocations: 209.7 kB / 1.135 GB, free: 14.6 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.6654, allocations: 0.5995 MB / 1.136 GB, free: 14.25 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.6671, allocations: 0.9105 MB / 1.137 GB, free: 13.77 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.6686, allocations: 1.537 MB / 1.138 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006619/0.6692, allocations: 447.6 kB / 1.139 GB, free: 12.71 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.6702, allocations: 0.8161 MB / 1.14 GB, free: 12.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.6708, allocations: 439.9 kB / 1.14 GB, free: 12.16 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.6709, allocations: 137.4 kB / 1.14 GB, free: 12.15 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009014/0.6718, allocations: 0.5267 MB / 1.141 GB, free: 12.03 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.672, allocations: 336.6 kB / 1.141 GB, free: 11.81 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.6723, allocations: 433.7 kB / 1.141 GB, free: 11.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.6745, allocations: 1.933 MB / 1.143 GB, free: 10.79 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6745, allocations: 0 / 1.143 GB, free: 10.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6745, allocations: 0 / 1.143 GB, free: 10.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.6745, allocations: 1.094 kB / 1.143 GB, free: 10.79 MB / 1.01 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.00229/0.6768, allocations: 1.505 MB / 1.145 GB, free: 9.809 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6769, allocations: 15.12 kB / 1.145 GB, free: 9.805 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005662/0.6825, allocations: 1.8 MB / 1.147 GB, free: 9.645 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.684, allocations: 0.7701 MB / 1.147 GB, free: 9.168 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.6841, allocations: 76.92 kB / 1.147 GB, free: 9.137 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.6842, allocations: 101.3 kB / 1.147 GB, free: 9.102 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.6879, allocations: 2.149 MB / 1.15 GB, free: 8.227 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.688, allocations: 4 kB / 1.15 GB, free: 8.223 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.688, allocations: 39.89 kB / 1.15 GB, free: 8.195 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.6881, allocations: 23.73 kB / 1.15 GB, free: 8.195 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005406/0.6935, allocations: 2.754 MB / 1.152 GB, free: 7.727 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006919/0.7004, allocations: 4.703 MB / 1.157 GB, free: 4.145 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.7037, allocations: 1.65 MB / 1.158 GB, free: 3.723 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.7061, allocations: 1.114 MB / 1.16 GB, free: 3.508 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.7062, allocations: 30.97 kB / 1.16 GB, free: 3.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002827/0.709, allocations: 1.479 MB / 1.161 GB, free: 3.059 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.966e-06/0.709, allocations: 4 kB / 1.161 GB, free: 3.055 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.008174/0.7172, allocations: 3.515 MB / 1.164 GB, free: 2.363 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.7173, allocations: 199.4 kB / 1.165 GB, free: 2.141 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.7182, allocations: 0.6047 MB / 1.165 GB, free: 1.871 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.7184, allocations: 54.16 kB / 1.165 GB, free: 1.82 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.7187, allocations: 440.1 kB / 1.166 GB, free: 1.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.719, allocations: 299.5 kB / 1.166 GB, free: 1.242 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.7193, allocations: 189.9 kB / 1.166 GB, free: 1.16 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7195, allocations: 386.1 kB / 1.167 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.722, allocations: 1.11 MB / 1.168 GB, free: 0.6094 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.7247, allocations: 1.336 MB / 1.169 GB, free: 188 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/0.7292, allocations: 2.037 MB / 1.171 GB, free: 15.73 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7292, allocations: 2.156 kB / 1.171 GB, free: 15.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005251/0.7345, allocations: 2.442 MB / 1.173 GB, free: 15.19 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.7345, allocations: 11.31 kB / 1.173 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7345, allocations: 2.094 kB / 1.173 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.7349, allocations: 83.14 kB / 1.173 GB, free: 15.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.7361, allocations: 495.5 kB / 1.174 GB, free: 15.13 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.7376, allocations: 1.497 MB / 1.175 GB, free: 13.77 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.739, allocations: 413.2 kB / 1.176 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.7391, allocations: 44.69 kB / 1.176 GB, free: 13.7 MB / 1.026 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.0005617/0.7397, allocations: 286.2 kB / 1.176 GB, free: 13.48 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.7398, allocations: 96.91 kB / 1.176 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/0.745, allocations: 2.665 MB / 1.179 GB, free: 12.81 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.745, allocations: 11.03 kB / 1.179 GB, free: 12.81 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.745, allocations: 4 kB / 1.179 GB, free: 12.81 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.745, allocations: 5.578 kB / 1.179 GB, free: 12.81 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/0.7517, allocations: 4.319 MB / 1.183 GB, free: 10.61 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.7517, allocations: 2.656 kB / 1.183 GB, free: 10.61 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.7529, allocations: 482.5 kB / 1.183 GB, free: 10.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.7531, allocations: 79.53 kB / 1.184 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.7532, allocations: 26.58 kB / 1.184 GB, free: 10.54 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.7544, allocations: 1.518 MB / 1.185 GB, free: 9.164 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7544, allocations: 0 / 1.185 GB, free: 9.164 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/0.7597, allocations: 2.56 MB / 1.188 GB, free: 8.359 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007212/0.7605, allocations: 232.3 kB / 1.188 GB, free: 8.18 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.7606, allocations: 29.95 kB / 1.188 GB, free: 8.156 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.7618, allocations: 381.7 kB / 1.188 GB, free: 8.043 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.762, allocations: 80.03 kB / 1.188 GB, free: 7.992 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.762, allocations: 38.94 kB / 1.188 GB, free: 7.977 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005278/0.7626, allocations: 439.8 kB / 1.189 GB, free: 7.723 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7626, allocations: 0 / 1.189 GB, free: 7.723 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001269/0.7638, allocations: 390.7 kB / 1.189 GB, free: 7.613 MB / 1.026 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 (100): * Single equations (assignments): 89 * 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.001444/0.7653, allocations: 0.6647 MB / 1.19 GB, free: 7.32 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.005623/0.7709, allocations: 2.49 MB / 1.192 GB, free: 6.34 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7709, allocations: 3.938 kB / 1.192 GB, free: 6.336 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.7734, allocations: 1.331 MB / 1.193 GB, free: 5.52 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.7744, allocations: 288.8 kB / 1.194 GB, free: 5.258 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.7787, allocations: 2.628 MB / 1.196 GB, free: 2.598 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.779, allocations: 470.1 kB / 1.197 GB, free: 2.098 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.7795, allocations: 132.4 kB / 1.197 GB, free: 1.969 MB / 1.026 GB Notification: Performance of SimCode: time 1.763e-06/0.7795, allocations: 0 / 1.197 GB, free: 1.969 MB / 1.026 GB Notification: Performance of Templates: time 0.02108/0.8006, allocations: 22.76 MB / 1.219 GB, free: 11.25 MB / 1.057 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] "" Variables in the reference:time,skyCle.skyCle Variables in the result:skyCle.skyCle,time [Calling sys.exit(0), Time elapsed: 9.119975551962852]