Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001444/0.001444, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.00149/0.00149, allocations: 185 kB / 17.34 MB, free: 5.629 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.89 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8173, allocations: 151.6 MB / 1.167 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007243/0.8246, allocations: 5.183 MB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.984, allocations: 150.7 MB / 1.32 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000985/0.985, allocations: 15.94 kB / 1.32 GB, free: 7.559 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.9858, allocations: 202.1 kB / 1.32 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.988, allocations: 0.5702 MB / 1.32 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.9902, allocations: 0.8698 MB / 1.321 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.9922, allocations: 1.452 MB / 1.323 GB, free: 4.465 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.9934, allocations: 0.6561 MB / 1.323 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009788/0.9944, allocations: 0.5217 MB / 1.324 GB, free: 3.262 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009275/0.9953, allocations: 0.5445 MB / 1.324 GB, free: 2.715 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003892/0.9957, allocations: 128 kB / 1.324 GB, free: 2.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.9971, allocations: 0.5035 MB / 1.325 GB, free: 2.086 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.9975, allocations: 315 kB / 1.325 GB, free: 1.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008883/0.9984, allocations: 0.6064 MB / 1.326 GB, free: 1.168 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/1.001, allocations: 1.768 MB / 1.327 GB, free: 15.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.001, allocations: 0 / 1.327 GB, free: 15.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.001, allocations: 0 / 1.327 GB, free: 15.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.039e-05/1.001, allocations: 0 / 1.327 GB, free: 15.39 MB / 1.061 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.003571/1.005, allocations: 1.504 MB / 1.329 GB, free: 13.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.005, allocations: 8.625 kB / 1.329 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.006, allocations: 223.1 kB / 1.329 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.008, allocations: 0.7734 MB / 1.33 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/1.008, allocations: 74 kB / 1.33 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.008, allocations: 88 kB / 1.33 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.01, allocations: 1.016 MB / 1.331 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/1.01, allocations: 3.938 kB / 1.331 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.01, allocations: 47.98 kB / 1.331 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/1.01, allocations: 24 kB / 1.331 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/1.012, allocations: 1.171 MB / 1.332 GB, free: 10.34 MB / 1.061 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.004897/1.017, allocations: 2.941 MB / 1.335 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/1.019, allocations: 0.9108 MB / 1.336 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/1.02, allocations: 318.8 kB / 1.336 GB, free: 6.016 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/1.02, allocations: 474.1 kB / 1.337 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009123/1.021, allocations: 0.4991 MB / 1.337 GB, free: 4.941 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/1.021, allocations: 0 / 1.337 GB, free: 4.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003673/1.025, allocations: 1.237 MB / 1.338 GB, free: 3.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.025, allocations: 196.6 kB / 1.339 GB, free: 3.445 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.026, allocations: 0.6372 MB / 1.339 GB, free: 2.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.026, allocations: 45.64 kB / 1.339 GB, free: 2.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/1.027, allocations: 428.1 kB / 1.34 GB, free: 2.324 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/1.027, allocations: 264.2 kB / 1.34 GB, free: 2.062 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/1.027, allocations: 166.5 kB / 1.34 GB, free: 1.895 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.028, allocations: 394.8 kB / 1.341 GB, free: 1.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/1.028, allocations: 273.8 kB / 1.341 GB, free: 1.234 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/1.029, allocations: 375 kB / 1.341 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.03, allocations: 0.6307 MB / 1.342 GB, free: 216 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.03, allocations: 0 / 1.342 GB, free: 216 kB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002302/1.033, allocations: 0.8761 MB / 1.343 GB, free: 15.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.033, allocations: 10.81 kB / 1.343 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.033, allocations: 0 / 1.343 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/1.033, allocations: 88.84 kB / 1.343 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/1.034, allocations: 171.6 kB / 1.343 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/1.037, allocations: 1.633 MB / 1.344 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000974/1.038, allocations: 99.16 kB / 1.345 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.038, allocations: 39.97 kB / 1.345 GB, free: 13.14 MB / 1.076 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.0006472/1.038, allocations: 275.6 kB / 1.345 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/1.039, allocations: 86.95 kB / 1.345 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/1.041, allocations: 1.093 MB / 1.346 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.041, allocations: 12 kB / 1.346 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.041, allocations: 4 kB / 1.346 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.041, allocations: 3.984 kB / 1.346 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/1.045, allocations: 1.997 MB / 1.348 GB, free: 9.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.045, allocations: 0 / 1.348 GB, free: 9.594 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/1.046, allocations: 147.8 kB / 1.348 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/1.046, allocations: 72.78 kB / 1.348 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/1.047, allocations: 23.98 kB / 1.348 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.049, allocations: 1.666 MB / 1.35 GB, free: 7.539 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.049, allocations: 3.938 kB / 1.35 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/1.051, allocations: 1.018 MB / 1.351 GB, free: 6.496 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/1.052, allocations: 283.7 kB / 1.351 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.052, allocations: 16 kB / 1.351 GB, free: 6.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/1.053, allocations: 67.92 kB / 1.351 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.053, allocations: 72.89 kB / 1.351 GB, free: 6.047 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/1.053, allocations: 35.92 kB / 1.351 GB, free: 6.012 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000724/1.054, allocations: 467 kB / 1.352 GB, free: 5.559 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.493e-06/1.054, allocations: 0 / 1.352 GB, free: 5.559 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001132/1.055, allocations: 363 kB / 1.352 GB, free: 5.203 MB / 1.076 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.001561/1.056, allocations: 0.6186 MB / 1.353 GB, free: 4.746 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00199/1.058, allocations: 0.8587 MB / 1.354 GB, free: 3.875 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.058, allocations: 0 / 1.354 GB, free: 3.875 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.059, allocations: 0.5275 MB / 1.354 GB, free: 3.336 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.061, allocations: 304 kB / 1.354 GB, free: 3.066 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/1.064, allocations: 1.754 MB / 1.356 GB, free: 1.277 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/1.065, allocations: 1.051 MB / 1.357 GB, free: 200 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/1.065, allocations: 119.4 kB / 1.357 GB, free: 80 kB / 1.076 GB Notification: Performance of SimCode: time 1.333e-06/1.065, allocations: 4 kB / 1.357 GB, free: 76 kB / 1.076 GB Notification: Performance of Templates: time 0.02996/1.095, allocations: 19.64 MB / 1.376 GB, free: 12.46 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches