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.007869/0.007869, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001661/0.001662, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9224/0.9237, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005954/0.9297, allocations: 4.415 MB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2062/1.136, allocations: 150.6 MB / 1.239 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/1.137, allocations: 20.03 kB / 1.239 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006746/1.138, allocations: 173.2 kB / 1.24 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/1.14, allocations: 0.5175 MB / 1.24 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/1.143, allocations: 0.8514 MB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00158/1.144, allocations: 1.339 MB / 1.242 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009557/1.145, allocations: 0.7044 MB / 1.243 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007138/1.146, allocations: 0.5012 MB / 1.243 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/1.147, allocations: 0.5191 MB / 1.244 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/1.147, allocations: 125.7 kB / 1.244 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/1.148, allocations: 0.5135 MB / 1.244 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/1.148, allocations: 319 kB / 1.245 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004905/1.149, allocations: 0.579 MB / 1.245 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/1.15, allocations: 1.703 MB / 1.247 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.151, allocations: 3.984 kB / 1.247 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/1.151, allocations: 3.938 kB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.825e-05/1.151, allocations: 0 / 1.247 GB, free: 10.79 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.002437/1.153, allocations: 1.488 MB / 1.248 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.153, allocations: 8.031 kB / 1.248 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.154, allocations: 223.2 kB / 1.249 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.155, allocations: 0.781 MB / 1.249 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/1.155, allocations: 70 kB / 1.249 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.155, allocations: 96 kB / 1.25 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/1.157, allocations: 1.012 MB / 1.251 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.157, allocations: 7.938 kB / 1.251 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/1.157, allocations: 39.98 kB / 1.251 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/1.157, allocations: 27.98 kB / 1.251 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/1.159, allocations: 1.171 MB / 1.252 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/1.163, allocations: 2.663 MB / 1.254 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/1.165, allocations: 0.912 MB / 1.255 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/1.165, allocations: 314.7 kB / 1.256 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/1.166, allocations: 474.1 kB / 1.256 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000849/1.167, allocations: 499.2 kB / 1.257 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/1.167, allocations: 4 kB / 1.257 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003161/1.17, allocations: 1.229 MB / 1.258 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.17, allocations: 188.6 kB / 1.258 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/1.171, allocations: 0.6488 MB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/1.171, allocations: 41.7 kB / 1.259 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/1.171, allocations: 424.3 kB / 1.259 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/1.171, allocations: 264.2 kB / 1.259 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/1.172, allocations: 166.5 kB / 1.259 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.172, allocations: 390.8 kB / 1.26 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/1.172, allocations: 269.8 kB / 1.26 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/1.173, allocations: 375 kB / 1.26 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.174, allocations: 0.6229 MB / 1.261 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.174, allocations: 3.938 kB / 1.261 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001985/1.176, allocations: 0.876 MB / 1.262 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.176, allocations: 4 kB / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.176, allocations: 3.938 kB / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/1.177, allocations: 80.88 kB / 1.262 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/1.178, allocations: 171.7 kB / 1.262 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/1.18, allocations: 1.638 MB / 1.264 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/1.18, allocations: 96.28 kB / 1.264 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/1.181, allocations: 35.97 kB / 1.264 GB, free: 8.938 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.0004671/1.181, allocations: 279.4 kB / 1.264 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/1.181, allocations: 82.97 kB / 1.264 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/1.184, allocations: 1.097 MB / 1.265 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.184, allocations: 8 kB / 1.265 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.184, allocations: 4 kB / 1.265 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.184, allocations: 3.984 kB / 1.265 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/1.187, allocations: 2.003 MB / 1.267 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.187, allocations: 3.984 kB / 1.267 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/1.188, allocations: 143.8 kB / 1.267 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/1.188, allocations: 80.78 kB / 1.267 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/1.188, allocations: 23.98 kB / 1.267 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/1.19, allocations: 1.666 MB / 1.269 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.19, allocations: 0 / 1.269 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/1.192, allocations: 1.014 MB / 1.27 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/1.193, allocations: 275.7 kB / 1.27 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.193, allocations: 23.91 kB / 1.27 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/1.193, allocations: 67.92 kB / 1.27 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.193, allocations: 68.91 kB / 1.27 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/1.194, allocations: 39.91 kB / 1.271 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006015/1.194, allocations: 467 kB / 1.271 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.194, allocations: 4 kB / 1.271 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001045/1.195, allocations: 343.1 kB / 1.271 GB, free: 1.008 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.001625/1.197, allocations: 0.6249 MB / 1.272 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001912/1.199, allocations: 0.8508 MB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.199, allocations: 0 / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.2, allocations: 0.5354 MB / 1.273 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.201, allocations: 286.5 kB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/1.206, allocations: 1.822 MB / 1.275 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.207, allocations: 1.047 MB / 1.276 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009839/1.208, allocations: 262.7 kB / 1.277 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/1.208, allocations: 107.4 kB / 1.277 GB, free: 11.59 MB / 1.014 GB Notification: Performance of SimCode: time 1.673e-06/1.208, allocations: 8 kB / 1.277 GB, free: 11.58 MB / 1.014 GB Notification: Performance of Templates: time 0.03018/1.239, allocations: 15.41 MB / 1.292 GB, free: 12.34 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/jenkins/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