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.0008327/0.0008327, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 178.5 kB / 16.92 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 10.73 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3172, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005632/0.3229, allocations: 4.735 MB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1578/0.4807, allocations: 146.8 MB / 1.207 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.4818, allocations: 15.94 kB / 1.207 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.4826, allocations: 158.7 kB / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.4848, allocations: 492.5 kB / 1.208 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.487, allocations: 0.744 MB / 1.209 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.489, allocations: 1.35 MB / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.4902, allocations: 0.6237 MB / 1.211 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.491, allocations: 374.2 kB / 1.211 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007908/0.4918, allocations: 413.8 kB / 1.211 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.492, allocations: 28 kB / 1.211 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.493, allocations: 387.6 kB / 1.212 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.4933, allocations: 199 kB / 1.212 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.4939, allocations: 0.4948 MB / 1.212 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.4955, allocations: 1.259 MB / 1.214 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4955, allocations: 0 / 1.214 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4955, allocations: 0 / 1.214 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.745e-05/0.4956, allocations: 0 / 1.214 GB, free: 6.293 MB / 0.9669 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.00282/0.4984, allocations: 1.279 MB / 1.215 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4985, allocations: 11.97 kB / 1.215 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.4998, allocations: 227.2 kB / 1.215 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.5011, allocations: 0.7616 MB / 1.216 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.5012, allocations: 74 kB / 1.216 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.5014, allocations: 92 kB / 1.216 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.5034, allocations: 1.016 MB / 1.217 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5034, allocations: 0 / 1.217 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.5035, allocations: 40 kB / 1.217 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.5036, allocations: 24 kB / 1.217 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.5056, allocations: 1.182 MB / 1.218 GB, free: 1.465 MB / 0.9669 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.005197/0.5108, allocations: 2.993 MB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.5127, allocations: 0.931 MB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.5134, allocations: 322.6 kB / 1.222 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/0.5141, allocations: 474.1 kB / 1.223 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009782/0.5151, allocations: 0.5108 MB / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.5151, allocations: 0 / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003486/0.5186, allocations: 1.256 MB / 1.225 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.5188, allocations: 188.6 kB / 1.225 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/0.5198, allocations: 0.6488 MB / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/0.5199, allocations: 41.7 kB / 1.225 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.5202, allocations: 424.2 kB / 1.226 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.5205, allocations: 264.1 kB / 1.226 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.5206, allocations: 69.67 kB / 1.226 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5208, allocations: 386.8 kB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/0.5214, allocations: 289.8 kB / 1.227 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.5221, allocations: 375.1 kB / 1.227 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.5234, allocations: 0.6385 MB / 1.228 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5234, allocations: 0 / 1.228 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002111/0.5255, allocations: 0.8877 MB / 1.229 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5256, allocations: 4 kB / 1.229 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5256, allocations: 0 / 1.229 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.5262, allocations: 84.88 kB / 1.229 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.5269, allocations: 167.8 kB / 1.229 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.5291, allocations: 1.533 MB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.53, allocations: 107.4 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.5301, allocations: 39.97 kB / 1.231 GB, free: 4.34 MB / 0.9825 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.0005833/0.5307, allocations: 276.9 kB / 1.231 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.5309, allocations: 82.97 kB / 1.231 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.5336, allocations: 1.105 MB / 1.232 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.5337, allocations: 19.92 kB / 1.232 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5337, allocations: 0 / 1.232 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5337, allocations: 3.984 kB / 1.232 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.5374, allocations: 2.012 MB / 1.234 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5374, allocations: 4 kB / 1.234 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.538, allocations: 147.8 kB / 1.234 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/0.5386, allocations: 88.7 kB / 1.234 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.5386, allocations: 23.98 kB / 1.234 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.5406, allocations: 1.544 MB / 1.236 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.5406, allocations: 8 kB / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.5428, allocations: 1.023 MB / 1.237 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.5434, allocations: 291.6 kB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.5435, allocations: 20 kB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.5443, allocations: 87.83 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.5445, allocations: 76.89 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.5446, allocations: 31.98 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006618/0.5452, allocations: 467 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5452, allocations: 3.938 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001073/0.5463, allocations: 355.1 kB / 1.238 GB, free: 12.45 MB / 0.9981 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.001628/0.548, allocations: 0.6125 MB / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.5499, allocations: 0.8665 MB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.55, allocations: 4 kB / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.551, allocations: 0.5392 MB / 1.24 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.5525, allocations: 288.2 kB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.556, allocations: 2.237 MB / 1.242 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.5567, allocations: 1.04 MB / 1.243 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.5571, allocations: 119.3 kB / 1.244 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.5571, allocations: 0 / 1.244 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of Templates: time 0.5467/1.104, allocations: 19.42 MB / 1.262 GB, free: 184.8 MB / 0.9981 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/jenkins1/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