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.007365/0.007365, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001811/0.001811, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.689/2.689, allocations: 437 MB / 0.7105 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3706, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007248/0.3779, allocations: 5.179 MB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9424/1.32, allocations: 150.7 MB / 1.319 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/1.321, allocations: 20.09 kB / 1.319 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009085/1.322, allocations: 206.4 kB / 1.319 GB, free: 9.922 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/1.325, allocations: 0.5619 MB / 1.32 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/1.327, allocations: 0.8616 MB / 1.32 GB, free: 9.504 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002026/1.329, allocations: 1.458 MB / 1.322 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/1.33, allocations: 0.6552 MB / 1.322 GB, free: 9.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/1.331, allocations: 0.513 MB / 1.323 GB, free: 8.941 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/1.332, allocations: 0.546 MB / 1.324 GB, free: 8.801 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/1.332, allocations: 129.1 kB / 1.324 GB, free: 8.797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/1.333, allocations: 0.5061 MB / 1.324 GB, free: 8.762 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/1.334, allocations: 310.6 kB / 1.324 GB, free: 8.617 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007191/1.334, allocations: 0.6072 MB / 1.325 GB, free: 8.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/1.337, allocations: 1.766 MB / 1.327 GB, free: 7.461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.337, allocations: 0 / 1.327 GB, free: 7.461 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.854e-06/1.337, allocations: 1.312 kB / 1.327 GB, free: 7.461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.371e-05/1.337, allocations: 0 / 1.327 GB, free: 7.461 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.003192/1.34, allocations: 1.541 MB / 1.328 GB, free: 6.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.34, allocations: 9.844 kB / 1.328 GB, free: 6.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/1.341, allocations: 218.2 kB / 1.328 GB, free: 6.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/1.343, allocations: 0.7948 MB / 1.329 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/1.343, allocations: 69.97 kB / 1.329 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.343, allocations: 93.69 kB / 1.329 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/1.345, allocations: 1.02 MB / 1.33 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/1.345, allocations: 0 / 1.33 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/1.345, allocations: 40.58 kB / 1.33 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/1.345, allocations: 26.94 kB / 1.33 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/1.348, allocations: 1.174 MB / 1.332 GB, free: 4.996 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.005152/1.353, allocations: 2.947 MB / 1.335 GB, free: 3.191 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/1.355, allocations: 0.9108 MB / 1.335 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/1.355, allocations: 321.1 kB / 1.336 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/1.356, allocations: 468 kB / 1.336 GB, free: 2.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/1.357, allocations: 0.506 MB / 1.337 GB, free: 1.973 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.985e-06/1.357, allocations: 0 / 1.337 GB, free: 1.973 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003703/1.361, allocations: 1.235 MB / 1.338 GB, free: 1.461 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.361, allocations: 192.7 kB / 1.338 GB, free: 1.238 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/1.362, allocations: 0.6469 MB / 1.339 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/1.362, allocations: 42.89 kB / 1.339 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/1.362, allocations: 435.4 kB / 1.339 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/1.363, allocations: 281.6 kB / 1.339 GB, free: 356 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/1.363, allocations: 165.5 kB / 1.34 GB, free: 280 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003241/1.363, allocations: 386.5 kB / 1.34 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/1.364, allocations: 278.3 kB / 1.34 GB, free: 15.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/1.365, allocations: 374 kB / 1.341 GB, free: 15.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.366, allocations: 0.6285 MB / 1.341 GB, free: 15.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.366, allocations: 1.094 kB / 1.341 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002294/1.368, allocations: 0.8761 MB / 1.342 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.368, allocations: 11.47 kB / 1.342 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.369, allocations: 5.031 kB / 1.342 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/1.369, allocations: 84.11 kB / 1.342 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/1.37, allocations: 166.1 kB / 1.342 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/1.372, allocations: 1.628 MB / 1.344 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008813/1.373, allocations: 103.7 kB / 1.344 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/1.373, allocations: 40.17 kB / 1.344 GB, free: 13.39 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.0006224/1.374, allocations: 268.8 kB / 1.344 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.374, allocations: 88.06 kB / 1.344 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/1.377, allocations: 1.114 MB / 1.345 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.377, allocations: 9.688 kB / 1.345 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/1.377, allocations: 0 / 1.345 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.377, allocations: 5.109 kB / 1.345 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/1.381, allocations: 1.999 MB / 1.347 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.381, allocations: 4 kB / 1.347 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/1.381, allocations: 153.7 kB / 1.348 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/1.382, allocations: 67.47 kB / 1.348 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/1.382, allocations: 31.86 kB / 1.348 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/1.384, allocations: 1.655 MB / 1.349 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.384, allocations: 0 / 1.349 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/1.386, allocations: 1.03 MB / 1.35 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/1.387, allocations: 282.9 kB / 1.351 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.387, allocations: 21.16 kB / 1.351 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/1.388, allocations: 65.38 kB / 1.351 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.388, allocations: 78.91 kB / 1.351 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.388, allocations: 40.56 kB / 1.351 GB, free: 9.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008098/1.389, allocations: 465.1 kB / 1.351 GB, free: 9.199 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.3e-07/1.389, allocations: 1.156 kB / 1.351 GB, free: 9.199 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001257/1.39, allocations: 362.1 kB / 1.352 GB, free: 9.098 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.001706/1.392, allocations: 0.6134 MB / 1.352 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002055/1.394, allocations: 0.8504 MB / 1.353 GB, free: 8.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.394, allocations: 1.656 kB / 1.353 GB, free: 8.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.395, allocations: 0.5399 MB / 1.353 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.397, allocations: 307.2 kB / 1.354 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/1.4, allocations: 1.753 MB / 1.355 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/1.401, allocations: 1.05 MB / 1.356 GB, free: 6.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009207/1.402, allocations: 266.8 kB / 1.357 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/1.402, allocations: 107.7 kB / 1.357 GB, free: 6.391 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/1.402, allocations: 0 / 1.357 GB, free: 6.391 MB / 1.029 GB Notification: Performance of Templates: time 0.02871/1.431, allocations: 15.95 MB / 1.372 GB, free: 14.48 MB / 1.045 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/jenkins/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