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.001465/0.001465, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00158/0.00158, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8881, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005726/0.8939, allocations: 4.423 MB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1892/1.083, allocations: 150.6 MB / 1.24 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/1.084, allocations: 15.47 kB / 1.24 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006509/1.085, allocations: 181.2 kB / 1.24 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/1.087, allocations: 0.5004 MB / 1.241 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/1.09, allocations: 0.8704 MB / 1.242 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001738/1.092, allocations: 1.325 MB / 1.243 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/1.093, allocations: 0.7119 MB / 1.244 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/1.094, allocations: 0.5008 MB / 1.244 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006835/1.094, allocations: 0.5234 MB / 1.245 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/1.095, allocations: 128.8 kB / 1.245 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/1.096, allocations: 0.5057 MB / 1.245 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/1.096, allocations: 311 kB / 1.245 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/1.097, allocations: 0.5829 MB / 1.246 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/1.099, allocations: 1.711 MB / 1.248 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.099, allocations: 0 / 1.248 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.474e-06/1.099, allocations: 0 / 1.248 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.099, allocations: 3.938 kB / 1.248 GB, free: 10.83 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.002498/1.101, allocations: 1.492 MB / 1.249 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.101, allocations: 8.031 kB / 1.249 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.103, allocations: 215.3 kB / 1.249 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/1.104, allocations: 0.7888 MB / 1.25 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/1.104, allocations: 66 kB / 1.25 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.104, allocations: 104 kB / 1.25 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/1.106, allocations: 1.008 MB / 1.251 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.106, allocations: 0 / 1.251 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.106, allocations: 40 kB / 1.251 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/1.106, allocations: 24 kB / 1.251 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/1.108, allocations: 1.179 MB / 1.252 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/1.112, allocations: 2.667 MB / 1.255 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.114, allocations: 0.9082 MB / 1.256 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/1.114, allocations: 310.7 kB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/1.115, allocations: 474.1 kB / 1.257 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009062/1.116, allocations: 0.4991 MB / 1.257 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.295e-06/1.116, allocations: 0 / 1.257 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003177/1.119, allocations: 1.225 MB / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.119, allocations: 196.6 kB / 1.259 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/1.12, allocations: 0.6371 MB / 1.259 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/1.12, allocations: 41.7 kB / 1.259 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/1.12, allocations: 428.2 kB / 1.26 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/1.12, allocations: 272.1 kB / 1.26 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/1.121, allocations: 162.5 kB / 1.26 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.121, allocations: 386.8 kB / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/1.121, allocations: 273.8 kB / 1.261 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/1.122, allocations: 375.1 kB / 1.261 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.123, allocations: 0.6229 MB / 1.262 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.123, allocations: 64 / 1.262 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001944/1.125, allocations: 0.8798 MB / 1.263 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.125, allocations: 7.938 kB / 1.263 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.125, allocations: 4 kB / 1.263 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/1.126, allocations: 84.86 kB / 1.263 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/1.127, allocations: 159.8 kB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/1.129, allocations: 1.634 MB / 1.264 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/1.129, allocations: 99.34 kB / 1.264 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/1.129, allocations: 39.97 kB / 1.265 GB, free: 8.965 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.0004413/1.13, allocations: 267.4 kB / 1.265 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/1.13, allocations: 86.97 kB / 1.265 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/1.132, allocations: 1.089 MB / 1.266 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.132, allocations: 12 kB / 1.266 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.132, allocations: 4 kB / 1.266 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.132, allocations: 3.984 kB / 1.266 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/1.136, allocations: 2.011 MB / 1.268 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.136, allocations: 4 kB / 1.268 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/1.136, allocations: 147.8 kB / 1.268 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/1.137, allocations: 76.77 kB / 1.268 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/1.137, allocations: 31.92 kB / 1.268 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/1.139, allocations: 1.65 MB / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.139, allocations: 0 / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.141, allocations: 1.021 MB / 1.271 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/1.141, allocations: 275.7 kB / 1.271 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.141, allocations: 19.91 kB / 1.271 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/1.142, allocations: 66.88 kB / 1.271 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.142, allocations: 80.89 kB / 1.271 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/1.142, allocations: 35.92 kB / 1.271 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005534/1.143, allocations: 467 kB / 1.272 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.143, allocations: 0 / 1.272 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008578/1.143, allocations: 343.1 kB / 1.272 GB, free: 1.043 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.001354/1.145, allocations: 0.6132 MB / 1.273 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.147, allocations: 0.8546 MB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.147, allocations: 4.188 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009208/1.147, allocations: 0.5353 MB / 1.274 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.149, allocations: 293 kB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/1.153, allocations: 1.864 MB / 1.276 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/1.153, allocations: 1.039 MB / 1.277 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/1.153, allocations: 123.4 kB / 1.277 GB, free: 11.83 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.153, allocations: 3.938 kB / 1.277 GB, free: 11.82 MB / 1.014 GB Notification: Performance of Templates: time 0.02423/1.178, allocations: 19.41 MB / 1.296 GB, free: 8.453 MB / 1.029 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/jenkins1/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