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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 110.5 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007527/0.3049, allocations: 5.169 MB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7463/1.051, allocations: 150.7 MB / 1.328 GB, free: 9.812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/1.052, allocations: 19.88 kB / 1.328 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/1.053, allocations: 201.9 kB / 1.328 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002043/1.055, allocations: 0.5612 MB / 1.329 GB, free: 9.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/1.057, allocations: 0.8684 MB / 1.33 GB, free: 9.273 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002093/1.059, allocations: 1.461 MB / 1.331 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/1.06, allocations: 0.6526 MB / 1.332 GB, free: 8.816 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009729/1.061, allocations: 0.5118 MB / 1.332 GB, free: 8.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/1.062, allocations: 0.5404 MB / 1.333 GB, free: 8.574 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/1.063, allocations: 124.8 kB / 1.333 GB, free: 8.574 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/1.064, allocations: 0.5177 MB / 1.333 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/1.064, allocations: 309.1 kB / 1.334 GB, free: 8.242 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007175/1.065, allocations: 0.6077 MB / 1.334 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/1.068, allocations: 1.762 MB / 1.336 GB, free: 7.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.068, allocations: 0.7031 kB / 1.336 GB, free: 7.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/1.068, allocations: 1.688 kB / 1.336 GB, free: 7.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.085e-05/1.068, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.014 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.003702/1.072, allocations: 1.546 MB / 1.337 GB, free: 6.035 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.072, allocations: 8.938 kB / 1.338 GB, free: 6.035 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.073, allocations: 227.2 kB / 1.338 GB, free: 5.957 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.075, allocations: 0.7866 MB / 1.338 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/1.075, allocations: 73.06 kB / 1.339 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.075, allocations: 94.89 kB / 1.339 GB, free: 5.379 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/1.077, allocations: 1.011 MB / 1.34 GB, free: 4.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.077, allocations: 1.188 kB / 1.34 GB, free: 4.922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.077, allocations: 42.84 kB / 1.34 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/1.077, allocations: 22.91 kB / 1.34 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/1.079, allocations: 1.172 MB / 1.341 GB, free: 4.617 MB / 1.014 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.004837/1.084, allocations: 2.958 MB / 1.344 GB, free: 2.805 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.086, allocations: 0.9091 MB / 1.345 GB, free: 2.402 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/1.086, allocations: 314.4 kB / 1.345 GB, free: 2.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007199/1.087, allocations: 472.7 kB / 1.345 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009627/1.088, allocations: 0.5029 MB / 1.346 GB, free: 1.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/1.088, allocations: 0 / 1.346 GB, free: 1.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003611/1.092, allocations: 1.241 MB / 1.347 GB, free: 1.078 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.092, allocations: 197 kB / 1.347 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/1.093, allocations: 0.6437 MB / 1.348 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/1.093, allocations: 41.7 kB / 1.348 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/1.093, allocations: 427.8 kB / 1.348 GB, free: 204 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/1.094, allocations: 285 kB / 1.349 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/1.094, allocations: 166.6 kB / 1.349 GB, free: 15.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.094, allocations: 386.1 kB / 1.349 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/1.095, allocations: 276 kB / 1.349 GB, free: 15.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007162/1.096, allocations: 380.9 kB / 1.35 GB, free: 15.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.097, allocations: 0.6267 MB / 1.35 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.097, allocations: 1.125 kB / 1.35 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002185/1.099, allocations: 0.8774 MB / 1.351 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.099, allocations: 14 kB / 1.351 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.099, allocations: 0 / 1.351 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/1.1, allocations: 83.86 kB / 1.351 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/1.1, allocations: 162.3 kB / 1.351 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/1.103, allocations: 1.632 MB / 1.353 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/1.104, allocations: 106 kB / 1.353 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/1.104, allocations: 38.03 kB / 1.353 GB, free: 13.01 MB / 1.029 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.0005583/1.104, allocations: 271.9 kB / 1.353 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/1.105, allocations: 88.06 kB / 1.354 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/1.107, allocations: 1.098 MB / 1.355 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.107, allocations: 9.719 kB / 1.355 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.107, allocations: 48 / 1.355 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.107, allocations: 9.812 kB / 1.355 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.111, allocations: 2.005 MB / 1.357 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.111, allocations: 1.156 kB / 1.357 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/1.112, allocations: 152.7 kB / 1.357 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/1.112, allocations: 68.38 kB / 1.357 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/1.112, allocations: 25.22 kB / 1.357 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/1.114, allocations: 1.666 MB / 1.358 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.114, allocations: 0 / 1.358 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/1.117, allocations: 1.026 MB / 1.359 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/1.117, allocations: 285.9 kB / 1.36 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.118, allocations: 18.22 kB / 1.36 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/1.118, allocations: 62.2 kB / 1.36 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.118, allocations: 69.73 kB / 1.36 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/1.118, allocations: 39.62 kB / 1.36 GB, free: 9.043 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006467/1.119, allocations: 469.6 kB / 1.36 GB, free: 8.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.119, allocations: 1.312 kB / 1.36 GB, free: 8.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001175/1.12, allocations: 370 kB / 1.361 GB, free: 8.727 MB / 1.029 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.002097/1.122, allocations: 0.6206 MB / 1.361 GB, free: 8.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002055/1.124, allocations: 0.8544 MB / 1.362 GB, free: 8.121 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.125, allocations: 1.156 kB / 1.362 GB, free: 8.121 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.126, allocations: 0.5324 MB / 1.363 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.127, allocations: 307.8 kB / 1.363 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/1.13, allocations: 1.79 MB / 1.365 GB, free: 6.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.131, allocations: 1.043 MB / 1.366 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/1.131, allocations: 122.6 kB / 1.366 GB, free: 6.07 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/1.131, allocations: 0 / 1.366 GB, free: 6.07 MB / 1.029 GB Notification: Performance of Templates: time 0.02742/1.159, allocations: 19.64 MB / 1.385 GB, free: 11.68 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,skyCle.skyCle Variables in the result:skyCle.skyCle,time [Calling sys.exit(0), Time elapsed: 13.761103364056908]