Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008211/0.008211, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001751/0.001751, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 62.39 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3231, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006248/0.3294, allocations: 4.422 MB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1983/0.5277, allocations: 150.6 MB / 1.239 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.5288, allocations: 19.88 kB / 1.239 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.5295, allocations: 174.4 kB / 1.24 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.5312, allocations: 0.5068 MB / 1.24 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.5335, allocations: 0.848 MB / 1.241 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.535, allocations: 1.339 MB / 1.242 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009562/0.536, allocations: 0.6908 MB / 1.243 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.5366, allocations: 0.4982 MB / 1.243 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.5372, allocations: 0.5289 MB / 1.244 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.5373, allocations: 128 kB / 1.244 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009115/0.5382, allocations: 0.5074 MB / 1.244 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.5385, allocations: 315 kB / 1.245 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005319/0.5391, allocations: 0.579 MB / 1.245 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.541, allocations: 1.713 MB / 1.247 GB, free: 13.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.541, allocations: 0 / 1.247 GB, free: 13.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.754e-06/0.541, allocations: 0 / 1.247 GB, free: 13.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.541, allocations: 0 / 1.247 GB, free: 13.98 MB / 1.014 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.002548/0.5436, allocations: 1.496 MB / 1.248 GB, free: 12.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5436, allocations: 8.031 kB / 1.248 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5448, allocations: 211.3 kB / 1.249 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.5459, allocations: 0.781 MB / 1.249 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.546, allocations: 74 kB / 1.249 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5462, allocations: 92 kB / 1.25 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5479, allocations: 1.012 MB / 1.251 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.5479, allocations: 3.938 kB / 1.251 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.548, allocations: 40 kB / 1.251 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.548, allocations: 24 kB / 1.251 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.55, allocations: 1.179 MB / 1.252 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.5542, allocations: 2.663 MB / 1.254 GB, free: 6.199 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.5559, allocations: 0.912 MB / 1.255 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.5565, allocations: 314.6 kB / 1.256 GB, free: 4.957 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000675/0.5572, allocations: 474.2 kB / 1.256 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009036/0.5581, allocations: 0.4992 MB / 1.257 GB, free: 3.883 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.404e-06/0.5581, allocations: 0 / 1.257 GB, free: 3.883 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003312/0.5614, allocations: 1.225 MB / 1.258 GB, free: 2.633 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.5616, allocations: 192.6 kB / 1.258 GB, free: 2.402 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.5624, allocations: 0.6488 MB / 1.259 GB, free: 1.746 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.5625, allocations: 41.7 kB / 1.259 GB, free: 1.699 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.5628, allocations: 416.3 kB / 1.259 GB, free: 1.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.563, allocations: 272.2 kB / 1.259 GB, free: 1.016 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.5633, allocations: 170.5 kB / 1.259 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5634, allocations: 386.8 kB / 1.26 GB, free: 464 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.564, allocations: 273.8 kB / 1.26 GB, free: 192 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7099/1.274, allocations: 372.6 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/1.275, allocations: 0.6256 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.275, allocations: 0.8125 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002333/1.278, allocations: 0.8727 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/1.278, allocations: 6.031 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.278, allocations: 2.656 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/1.278, allocations: 83.58 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/1.279, allocations: 168.5 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/1.282, allocations: 1.632 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/1.282, allocations: 91.19 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/1.283, allocations: 36.03 kB / 1.264 GB, free: 171.9 MB / 1.014 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.0004802/1.283, allocations: 276.1 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/1.283, allocations: 85.06 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/1.286, allocations: 1.094 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.286, allocations: 10.16 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.286, allocations: 7.438 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.286, allocations: 7.125 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/1.29, allocations: 2.006 MB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.29, allocations: 1.781 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/1.291, allocations: 149.5 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/1.291, allocations: 73.44 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/1.291, allocations: 30.06 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/1.293, allocations: 1.66 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.293, allocations: 0 / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.296, allocations: 1.021 MB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/1.296, allocations: 276.9 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.296, allocations: 22.25 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/1.297, allocations: 69.34 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.297, allocations: 68.81 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-05/1.297, allocations: 41.8 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007911/1.298, allocations: 465.3 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.298, allocations: 0.6875 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001267/1.299, allocations: 340.8 kB / 1.271 GB, free: 168.1 MB / 1.014 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.001569/1.301, allocations: 0.6199 MB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.303, allocations: 0.8541 MB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.303, allocations: 0.5 kB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.305, allocations: 0.5331 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.306, allocations: 290.2 kB / 1.274 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/1.311, allocations: 1.83 MB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/1.311, allocations: 1.049 MB / 1.276 GB, free: 165.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009279/1.312, allocations: 276.7 kB / 1.277 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/1.312, allocations: 104.7 kB / 1.277 GB, free: 165.5 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.313, allocations: 1.625 kB / 1.277 GB, free: 165.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03054/1.343, allocations: 15.4 MB / 1.292 GB, free: 161.9 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches