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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=5000,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=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_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.0008933/0.0008934, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006956/0.006956, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 443.3 MB / 0.7175 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004214, allocations: 8.656 kB / 0.8796 GB, free: 41.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2809, allocations: 155.2 MB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008284/0.2892, allocations: 4.74 MB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.1833/0.4726, allocations: 146.8 MB / 1.179 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.4737, allocations: 19.88 kB / 1.179 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008171/0.4746, allocations: 154.8 kB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.477, allocations: 492 kB / 1.18 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.4796, allocations: 0.755 MB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.4816, allocations: 1.342 MB / 1.182 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.4828, allocations: 0.6198 MB / 1.182 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009029/0.4837, allocations: 374.2 kB / 1.183 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008787/0.4846, allocations: 417.7 kB / 1.183 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.4849, allocations: 24 kB / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.486, allocations: 387.6 kB / 1.184 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.4863, allocations: 191.1 kB / 1.184 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007302/0.487, allocations: 0.5025 MB / 1.184 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.4895, allocations: 1.596 MB / 1.186 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4895, allocations: 0 / 1.186 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4895, allocations: 4 kB / 1.186 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.743e-05/0.4896, allocations: 4 kB / 1.186 GB, free: 5.309 MB / 0.9356 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.002983/0.4926, allocations: 1.27 MB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4926, allocations: 12.03 kB / 1.187 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.4939, allocations: 227.2 kB / 1.187 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4952, allocations: 0.7616 MB / 1.188 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.4953, allocations: 74 kB / 1.188 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.4955, allocations: 91.98 kB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.4975, allocations: 1.02 MB / 1.189 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4975, allocations: 3.938 kB / 1.189 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.4976, allocations: 44 kB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.4976, allocations: 23.94 kB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.4998, allocations: 1.186 MB / 1.19 GB, free: 472 kB / 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.005158/0.5049, allocations: 2.984 MB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5068, allocations: 0.9292 MB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.5074, allocations: 326.7 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.5081, allocations: 470.1 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.5091, allocations: 0.5069 MB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.026e-06/0.5091, allocations: 0 / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003459/0.5126, allocations: 1.256 MB / 1.197 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.5127, allocations: 192.6 kB / 1.197 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5137, allocations: 0.645 MB / 1.197 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/0.5138, allocations: 45.69 kB / 1.198 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.5142, allocations: 420.2 kB / 1.198 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.5145, allocations: 268.1 kB / 1.198 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5146, allocations: 73.67 kB / 1.198 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5148, allocations: 394.7 kB / 1.199 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.5154, allocations: 281.8 kB / 1.199 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/0.5161, allocations: 379 kB / 1.199 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.5173, allocations: 0.6307 MB / 1.2 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5173, allocations: 0 / 1.2 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002161/0.5195, allocations: 0.8877 MB / 1.201 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.5195, allocations: 8.078 kB / 1.201 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5196, allocations: 4 kB / 1.201 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/0.5202, allocations: 80.84 kB / 1.201 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.5209, allocations: 175.7 kB / 1.201 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.5231, allocations: 1.529 MB / 1.202 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.524, allocations: 99.33 kB / 1.203 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.5241, allocations: 43.97 kB / 1.203 GB, free: 3.352 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.0005391/0.5246, allocations: 279.3 kB / 1.203 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.5248, allocations: 82.97 kB / 1.203 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.5274, allocations: 1.105 MB / 1.204 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.5274, allocations: 11.94 kB / 1.204 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5274, allocations: 7.938 kB / 1.204 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5274, allocations: 3.984 kB / 1.204 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.5311, allocations: 2.012 MB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5311, allocations: 4 kB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.5317, allocations: 147.8 kB / 1.206 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.5322, allocations: 88.77 kB / 1.206 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/0.5323, allocations: 23.98 kB / 1.206 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.5341, allocations: 1.54 MB / 1.208 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5341, allocations: 7.875 kB / 1.208 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.5362, allocations: 1.027 MB / 1.209 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.5367, allocations: 291.6 kB / 1.209 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.5369, allocations: 24 kB / 1.209 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/0.5377, allocations: 92.73 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.5378, allocations: 64.91 kB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.5379, allocations: 39.97 kB / 1.209 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000626/0.5386, allocations: 463 kB / 1.21 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5386, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001049/0.5396, allocations: 351 kB / 1.21 GB, free: 11.46 MB / 0.9669 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.001538/0.5412, allocations: 0.6339 MB / 1.211 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.5433, allocations: 0.8587 MB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5433, allocations: 3.938 kB / 1.212 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5443, allocations: 0.5353 MB / 1.212 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.5459, allocations: 279.2 kB / 1.212 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.5495, allocations: 2.211 MB / 1.214 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.5502, allocations: 1.045 MB / 1.215 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009647/0.5512, allocations: 274.7 kB / 1.216 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.5515, allocations: 107.4 kB / 1.216 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of SimCode: time 1.182e-06/0.5515, allocations: 0 / 1.216 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of Templates: time 0.0288/0.5803, allocations: 15.05 MB / 1.231 GB, free: 6.777 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) 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) Reference file matches