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.001773/0.001773, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001841/0.001841, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.18 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7855, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005435/0.791, allocations: 4.431 MB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1897/0.9807, allocations: 150.6 MB / 1.24 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.9821, allocations: 19.06 kB / 1.24 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.9832, allocations: 177 kB / 1.24 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.986, allocations: 0.5129 MB / 1.241 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.9887, allocations: 0.8552 MB / 1.242 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.9907, allocations: 1.332 MB / 1.243 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.9919, allocations: 0.704 MB / 1.244 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008927/0.9928, allocations: 0.5088 MB / 1.244 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.9935, allocations: 0.5232 MB / 1.245 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.9937, allocations: 124.6 kB / 1.245 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.995, allocations: 0.5138 MB / 1.245 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.9953, allocations: 315 kB / 1.245 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.9958, allocations: 0.579 MB / 1.246 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.998, allocations: 1.713 MB / 1.248 GB, free: 11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.998, allocations: 0 / 1.248 GB, free: 11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9981, allocations: 3.938 kB / 1.248 GB, free: 11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.9981, allocations: 3.938 kB / 1.248 GB, free: 10.99 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.002597/1.001, allocations: 1.488 MB / 1.249 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.001, allocations: 8.031 kB / 1.249 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.002, allocations: 215.2 kB / 1.249 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.003, allocations: 0.7888 MB / 1.25 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/1.003, allocations: 70 kB / 1.25 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.003, allocations: 92 kB / 1.25 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/1.005, allocations: 1.008 MB / 1.251 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.005, allocations: 7.938 kB / 1.251 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/1.005, allocations: 40 kB / 1.251 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/1.005, allocations: 24 kB / 1.251 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.007, allocations: 1.179 MB / 1.252 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/1.012, allocations: 2.659 MB / 1.255 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/1.014, allocations: 0.9159 MB / 1.256 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/1.014, allocations: 314.7 kB / 1.256 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/1.015, allocations: 466.2 kB / 1.257 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009497/1.016, allocations: 0.4992 MB / 1.257 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/1.016, allocations: 0 / 1.257 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003265/1.019, allocations: 1.225 MB / 1.258 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.019, allocations: 192.6 kB / 1.259 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/1.02, allocations: 0.641 MB / 1.259 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/1.02, allocations: 45.69 kB / 1.259 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/1.021, allocations: 420.3 kB / 1.26 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/1.021, allocations: 272.1 kB / 1.26 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.021, allocations: 162.5 kB / 1.26 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.021, allocations: 390.7 kB / 1.26 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/1.022, allocations: 273.8 kB / 1.261 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/1.023, allocations: 379.1 kB / 1.261 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/1.024, allocations: 0.6229 MB / 1.262 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.024, allocations: 3.938 kB / 1.262 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002123/1.026, allocations: 0.8721 MB / 1.263 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.026, allocations: 4 kB / 1.263 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.026, allocations: 0 / 1.263 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/1.027, allocations: 80.86 kB / 1.263 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/1.027, allocations: 175.6 kB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/1.029, allocations: 1.626 MB / 1.264 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/1.03, allocations: 99.31 kB / 1.264 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/1.03, allocations: 39.97 kB / 1.265 GB, free: 9.137 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.0004965/1.031, allocations: 273.8 kB / 1.265 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/1.031, allocations: 82.97 kB / 1.265 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/1.034, allocations: 1.101 MB / 1.266 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.034, allocations: 12 kB / 1.266 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.034, allocations: 0 / 1.266 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.034, allocations: 3.984 kB / 1.266 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/1.037, allocations: 2.007 MB / 1.268 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.037, allocations: 4 kB / 1.268 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/1.038, allocations: 151.8 kB / 1.268 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/1.038, allocations: 72.8 kB / 1.268 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/1.038, allocations: 31.97 kB / 1.268 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/1.04, allocations: 1.646 MB / 1.27 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.04, allocations: 0 / 1.27 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/1.042, allocations: 1.025 MB / 1.271 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/1.043, allocations: 275.9 kB / 1.271 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/1.043, allocations: 19.91 kB / 1.271 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/1.044, allocations: 66.59 kB / 1.271 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.044, allocations: 76.89 kB / 1.271 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/1.044, allocations: 39.97 kB / 1.271 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005727/1.044, allocations: 467 kB / 1.272 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.044, allocations: 0 / 1.272 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009544/1.045, allocations: 347.1 kB / 1.272 GB, free: 1.207 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.001384/1.047, allocations: 0.6164 MB / 1.273 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001748/1.049, allocations: 0.8506 MB / 1.273 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.049, allocations: 4 kB / 1.273 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/1.05, allocations: 0.5278 MB / 1.274 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/1.051, allocations: 293.4 kB / 1.274 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/1.055, allocations: 1.87 MB / 1.276 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/1.056, allocations: 1.039 MB / 1.277 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/1.056, allocations: 119.4 kB / 1.277 GB, free: 12 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.056, allocations: 0 / 1.277 GB, free: 12 MB / 1.014 GB Notification: Performance of Templates: time 0.0272/1.083, allocations: 19.41 MB / 1.296 GB, free: 8.625 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