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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001714/0.001714, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002086/0.002086, allocations: 194.8 kB / 16.25 MB, free: 6.641 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: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.7 MB / 0.7449 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 68.28 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3932, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007123/0.4003, allocations: 5.174 MB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1726/0.573, allocations: 148.5 MB / 1.218 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.5744, allocations: 19.88 kB / 1.218 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.5754, allocations: 162.8 kB / 1.218 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.5782, allocations: 0.4955 MB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.5808, allocations: 0.7728 MB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.583, allocations: 1.444 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.5843, allocations: 0.6561 MB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009516/0.5853, allocations: 0.5177 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009161/0.5862, allocations: 0.5446 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.5864, allocations: 128 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.5875, allocations: 495.6 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.5878, allocations: 319 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005444/0.5883, allocations: 0.6102 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.5901, allocations: 1.702 MB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5902, allocations: 3.984 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5902, allocations: 0 / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.5902, allocations: 0 / 1.225 GB, free: 8.613 MB / 0.9825 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.002479/0.5927, allocations: 1.508 MB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5927, allocations: 12.03 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.5939, allocations: 215.2 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.5949, allocations: 0.7577 MB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.5949, allocations: 78 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5951, allocations: 88 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.5968, allocations: 1.02 MB / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5968, allocations: 0 / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.322e-05/0.5969, allocations: 43.98 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.597, allocations: 24 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.5988, allocations: 1.175 MB / 1.23 GB, free: 3.566 MB / 0.9825 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.004392/0.6032, allocations: 2.961 MB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.6048, allocations: 0.9043 MB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.6054, allocations: 322.6 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006178/0.606, allocations: 470.2 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009354/0.6069, allocations: 0.5069 MB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 4.308e-06/0.6069, allocations: 3.984 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003239/0.6102, allocations: 1.233 MB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6103, allocations: 196.6 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007869/0.6111, allocations: 0.6449 MB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/0.6112, allocations: 49.64 kB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.6115, allocations: 424.2 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.6117, allocations: 264.2 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.612, allocations: 166.5 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6121, allocations: 382.8 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.6127, allocations: 281.8 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.6133, allocations: 375.1 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.6145, allocations: 0.6307 MB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6145, allocations: 0 / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001979/0.6165, allocations: 0.8722 MB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6165, allocations: 9.344 kB / 1.241 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6165, allocations: 4 kB / 1.241 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/0.6171, allocations: 84.86 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.6178, allocations: 163.8 kB / 1.241 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.62, allocations: 1.632 MB / 1.242 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008846/0.6209, allocations: 103.2 kB / 1.243 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.621, allocations: 39.97 kB / 1.243 GB, free: 6.355 MB / 0.9981 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.0005953/0.6216, allocations: 281.2 kB / 1.243 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.6218, allocations: 82.97 kB / 1.243 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.6243, allocations: 1.097 MB / 1.244 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.6243, allocations: 11.94 kB / 1.244 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6243, allocations: 4 kB / 1.244 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6243, allocations: 3.984 kB / 1.244 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.6276, allocations: 2.004 MB / 1.246 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6277, allocations: 0 / 1.246 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.6283, allocations: 151.8 kB / 1.246 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.6287, allocations: 72.78 kB / 1.246 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.6288, allocations: 23.98 kB / 1.246 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.6308, allocations: 1.673 MB / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6308, allocations: 0 / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.625/1.256, allocations: 1.009 MB / 1.249 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/1.256, allocations: 274.1 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.257, allocations: 20.34 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/1.257, allocations: 68.72 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.258, allocations: 75.17 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/1.258, allocations: 41.55 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006914/1.258, allocations: 466 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.258, allocations: 1.562 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001076/1.259, allocations: 359.5 kB / 1.25 GB, free: 183.2 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.001439/1.261, allocations: 0.6216 MB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.263, allocations: 1.066 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.264, allocations: 0.9375 kB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.265, allocations: 0.5229 MB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.266, allocations: 304.1 kB / 1.253 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/1.269, allocations: 2.185 MB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/1.27, allocations: 1.049 MB / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009273/1.271, allocations: 271.5 kB / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.271, allocations: 110.1 kB / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.271, allocations: 0 / 1.256 GB, free: 181 MB / 0.9981 GB Notification: Performance of Templates: time 0.03209/1.303, allocations: 15.67 MB / 1.271 GB, free: 178.6 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/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